user3949359
user3949359

Reputation:

'composer' is not recognized as an internal or external command

'composer' is not recognized as an internal or external command

Upvotes: 18

Views: 84900

Answers (3)

Muhammad Umar
Muhammad Umar

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

sanjay kakoty
sanjay kakoty

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

Embok Ramde
Embok Ramde

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

Related Questions