# curl -sS https://getcomposer.org/installer | PHP
# mv composer.phar /usr/local/bin/composer
# echo "export PATH=$PATH:/usr/local/bin" >> /etc/bashrc
# source /etc/bashrc
# composer -v
原文链接:https://www.f2er.com/centos/378366.html# curl -sS https://getcomposer.org/installer | PHP
# mv composer.phar /usr/local/bin/composer
# echo "export PATH=$PATH:/usr/local/bin" >> /etc/bashrc
# source /etc/bashrc
# composer -v
原文链接:https://www.f2er.com/centos/378366.html