Reputation:
'composer' is not recognized as an internal or external command
Upvotes: 18
Views: 84900
Reputation: 105
Right Click My PC Icon select propertise
Advance System Setting
-> Advance tab -> Environment variables
-> System Variable -> Click path ->
->Add Line ->
C:\composer
Upvotes: 0
Reputation: 69
go to C:\wamp\www\laravel\
in the command prompt,
use "C:\ProgramData\ComposerSetup\bin\composer install"
instead of "composer install"
Upvotes: 6
Reputation: 381
For anyone still reading seeking answer (like I did when I found this): simply restarting cmd prompt will not work, you have to restart Windows Explorer or your computer and then both composer and php will work globally.
Upvotes: 25