curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
# 解除安裝配置映象
composer config -g --unset repos.packagist
本作品採用《CC 協議》,轉載必須註明作者和本文連結