Put the composer in the project directory according to the instructions from the Composer Download page. Following, in the project folder I do:

 composer global require "laravel/installer" 

And gives:

 -bash: composer: command not found 

What is the problem?

    1 answer 1

    on your link composer is installed locally. in this case, use php composer.phar . ie php composer.phar global require "laravel/installer"

    to put composer globally: https://getcomposer.org/doc/00-intro.md#globally

    • Yes, it works, thanks) - Klimenkomud