首页 > 代码库 > Ubuntu14.04下安装Composer

Ubuntu14.04下安装Composer

下载Composer:

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

安装Composer:

/usr/bin/php composer.phar --version

设置全局命令:

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

查看是否安装与设置成功:

composer -version

Ubuntu14.04下安装Composer