There is a problem with the Chinese mirror installation
Deephug
Deephug 2019-06-11 08:13:49
0
2
1156

MacBook-Pro:~ gun$ composer config -g repo.packagist composer https://packagist.phpcomposer.com
-bash: composer: command not found

求老师解答

Deephug
Deephug

reply all(1)
Peter-Zhu

According to the prompt: The composer command was not found

  1. Whether composer was downloaded and installed correctly

  2. 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

  • reply OK, I added the command sudo mv composer.phar /usr/local/bin/composer
    Deephug author 2019-06-11 15:24:16
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template