Install Composer on CentOS
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Install Composer on CentOS相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章
How to Install Laravel PHP Framework on CentOS 7 / Ubuntu 15.04
composer install 和updaterequire的使用