我使用以下代码composer global require "laravel/installer"
然后我运行export PATH="$HOME/.config/composer/vendor/bin:$PATH"
将它放在我的路径中,但我得到的是 zsh :找不到命令:laravel 我现在能做什么?
You should add export PATH="$HOME/.config/composer/vendor/bin:$PATH"
to the beginning or the end of your ~/.zshrc file
Then run source ~/.zshrc
on your terminal or restart your session
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.