centos7 安装composer

命令:
1.下载composer
wget https://dl.laravel-china.org/composer.phar -O /usr/local/bin/composer
2.赋予权限
chmod a+x /usr/local/bin/composer
3.查看安装情况
composer -v

posted on 2018-10-22 16:50  顶级手法  阅读(217)  评论(0编辑  收藏  举报