laravel is not recognized as an internal or external command

后端 未结 5 1718
梦谈多话
梦谈多话 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 15:59

    First, use:

    composer global require "laravel/installer=~1.1"
    

    Then, you can try again.

    laravel new project
    

提交回复
热议问题