原文链接:https://my.oschina.net/jiangbianwanghai/blog/473249
1.下载composer.phar
[root#localhost opt]# curl -sS https://getcomposer.org/installer | php
2.把composer.phar移动到环境下让其变成可执行
[root@localhost opt]# mv composer.phar /usr/local/bin/composer
3.测试
[[email protected] opt]# composer -V
Composer version 1.0-dev (8775c948956c9e0e0a5fd723cd84c94b3ea3d7e9) 2015-07-01 09:29:53
时间: 2024-10-08 10:29:11