若是用的oh-my-zshlaravel
安装laravel 提示找不到。能够试试下面的composer
export PATH=$HOME/bin:/usr/local/bin:~/.composer/vendor/bin:$PATHzsh
我用这个是可行的。co