码迷,mamicode.com
首页 > 其他好文 > 详细

Install Composer on CentOS

时间:2017-05-26 19:43:43      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:usr   lob   org   etc   and   download   oca   curl   http   

First you have to go to the /tmp directory

cd /tmp



Download the composer.phar file

curl -sS https://getcomposer.org/installer | php



Move it to /usr/local/bin/

mv composer.phar /usr/local/bin/composer



Now you can to use the command composer globally.

Install Composer on CentOS

标签:usr   lob   org   etc   and   download   oca   curl   http   

原文地址:http://www.cnblogs.com/719907411hl/p/6910067.html

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