Commande Laravel introuvable après l'installation de 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 mac just run these 2 commands
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc