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了,但是这边全局安装处问题了。帮忙解决下,谢谢!


_莫凡
浏览 1179回答 2
2回答

圣斗士米虫

哥们,是 ‘sudo‘  不是  ’sudu’ ,你打错了 
打开App,查看更多内容
随时随地看视频慕课网APP