首页 > 代码库 > Linux 安装composer

Linux 安装composer

1、下载composer.phar

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

2、全局调用

1 mv composer.phar /usr/local/bin/composer
2 chmod +x composer

3、测试安装结果

composer about

技术分享

Linux 安装composer