最近换了块硬盘,又双叕要装环境,于是乎把这些命令保存起来
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
配置中国全量镜像地址
composer config -g repo.packagist composer https://packagist.phpcomposer.com
最近换了块硬盘,又双叕要装环境,于是乎把这些命令保存起来
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
配置中国全量镜像地址
composer config -g repo.packagist composer https://packagist.phpcomposer.com
本文标题:composer安装命令
本文链接:https://www.haomeiwen.com/subject/xjgpkftx.html
网友评论