首页 > 代码库 > 安装Composer

安装Composer

首先 cp /usr/local/php/bin/php /usr/sbin/ # 下载composer.phar curl -sS http://install.phpcomposer.com/installer | php # 把composer.phar移动到环境下让其变成可执行 mv composer.phar /usr/local/bin/composer # 测试 composer -V # 输出:Composer version 1.0-dev (e64470c987fdd6bff03b85eed823eb4b865a4152) 2015-05-28 14:52:12

安装Composer