MacBook-Pro:~ gun$ composer config -g repo.packagist composer https://packagist.phpcomposer.com
-bash: composer: command not found
求老师解答
天蓬老师2019-06-11 14:03:26
According to the prompt: The composer command was not found
Whether composer was downloaded and installed correctly
It can be seen that you should be on a MacOS system. If you have not moved composer to the global command directory bin, you should enter the directory where composer.phar is located and then execute composer