mac+mamp安装composer
打开终端
php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');"
安装
php composer-setup.php
移除安装包
php -r "unlink('composer-setup.php');"
composer 全域指令
sudo mv composer.phar /usr/local/bin/composer
<< 上一篇
下一篇 >>