标签:conf pre col phar tco 安装 local install https
1、下载composer
curl -sS https://getcomposer.org/installer | php
2、将composer.phar文件移动到bin目录以便全局使用composer命令
mv composer.phar /usr/local/bin/composer
3、切换国内源
composer config -g repo.packagist composer https://packagist.phpcomposer.com
4、输入composer验证:
安装成功!
标签:conf pre col phar tco 安装 local install https
原文地址:https://www.cnblogs.com/sz-xioabai/p/11548573.html