Perintah Laravel tidak ditemukan setelah menginstal Laravel Mac
export PATH="$PATH:$HOME/.composer/vendor/bin"
Almabek
export PATH="$PATH:$HOME/.composer/vendor/bin"
export PATH=~/.config/composer/vendor/bin:$PATH
source ~/.bashrc
source ~/.bashrc
echo 'export PATH="~/.config/composer/vendor/bin"' >> ~/.bashrc
# or
echo 'export PATH="~/.config/composer/vendor/bin"' >> ~/.zshrc
#these commands executed on Ubunyu 20.04
export PATH=~/.config/composer/vendor/bin:$PATH
source ~/.bashrc
#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