Linux 安装composer

1、下载composer.phar

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

2、全局调用

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

3、测试安装结果

composer about

posted @ 2017-06-30 14:31  L狗哥  阅读(6217)  评论(0编辑  收藏  举报