1 下载composer.phar

curl -sS https://getcomposer.org/installer | php

 

2 设置全局调用

mv composer.phar /usr/local/bin/composer
chmod +x composer

 

3 测试查看安装情况

 

composer about

posted on 2018-03-05 11:43  ヽ坚强的蘑菇  阅读(276)  评论(0编辑  收藏  举报