laravel is not recognized as an internal or external command

后端 未结 5 1551
梦谈多话
梦谈多话 2021-02-01 15:55

I\'m trying to start laravel,

Found the following line in their tutorial:

Make sure to place the ~/.composer/vendor/bin directory in your PATH

5条回答
  •  孤街浪徒
    2021-02-01 16:01

    For Windows add

    C:\Users\MyUserName\AppData\Roaming\Composer\vendor\bin 
    

    ... to directory by going to "My Computer" > "Properties" > "Advanced" > "Environment > Variables" > "Path".

    Note: MyUserName is your pc username .

    Restart your PC and it would work

提交回复
热议问题