问答详情
源自:1-2 安装Composer

max环境下composer全局安装

bogon:~ apple$ sudu cp composer.phar/usr/local/bin/composer

-bash: sudu: command not found

bogon:~ apple$ cd /usr/local/bin/

bogon:bin apple$ ls-il

-bash: ls-il: command not found

bogon:bin apple$ ls-al

-bash: ls-al: command not found

bogon:bin apple$ 

请问我这边全局安装为什么找不到/usr/local/bin/这个目录呢?我已经用命令行下载下来了composer了,但是这边全局安装处问题了。帮忙解决下,谢谢!

提问者:_莫凡 2017-01-06 19:58

个回答

  • odison
    2017-01-12 10:14:38

    http://www.phpcomposer.com/composer-the-new-age-of-dependency-manager-for-php/