(Ubuntu) Install PHP Composer

来源:互联网 发布:mac android ant 编辑:程序博客网 时间:2024/06/04 17:49

Step 1:

(The recommended path, not needed.)

cd /usr/local/bin

Step 2:

(install)

 sudo curl -s https://getcomposer.org/installer | sudo php

Step 3:

(Add execute permissions.)

sudo chmod a+x composer.phar

Step 4:

需要有一个composer.json文件


Step 5:

php composer.phar install 

Step 6:

(This step is not necessary. If needed, you can use this script to update Composer.)

sudo composer.phar self-update
http://www.kankanews.com/ICkengine/archives/46486.shtml
0 0
原创粉丝点击