码迷,mamicode.com
首页 > 系统相关 > 详细

linux下安装composer

时间:2018-04-18 18:58:29      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:class   local   sudo   epo   setup.php   lin   setup   set   .com   

//安装composer
php -r "copy(‘https://install.phpcomposer.com/installer‘, ‘composer-setup.php‘);"
php composer-setup.php
sudo mv composer.phar /usr/local/bin/composer
//切换中国镜像
composer config -g repo.packagist composer https://packagist.phpcomposer.com
//更新composer
composer selfupdate

  

linux下安装composer

标签:class   local   sudo   epo   setup.php   lin   setup   set   .com   

原文地址:https://www.cnblogs.com/ccs-mxs/p/8876194.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!