composer安装命令

最近换了块硬盘,又双叕要装环境,于是乎把这些命令保存起来

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

配置中国全量镜像地址
composer config -g repo.packagist composer https://packagist.phpcomposer.com

你可能感兴趣的:(composer安装命令)