centos7安装composer

//命令下载
curl -sS https://getcomposer.org/installer | php

//设置环境变量
mv composer.phar /usr/local/bin/composer

//修改权限
chmod -R 777 /usr/local/bin/composer

 

你可能感兴趣的:(linux,composer)