Linux 安装composer

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-11-27 23:09  爱博子  阅读(130)  评论(0编辑  收藏  举报