📜  laravel:找不到命令 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:17.399000             🧑  作者: Mango

代码示例6
#For Ubuntu 20.04 this will add laravel command to your PATH from CLI
#and append (>>) with standard output (echo) to your ~/.bashrc file
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc
#Make sure your terminal does actually use ~/.bashrc and not ~/.bash_profile
#reload terminal path config
source ~/.bashrc