-bash: laravel: command not found code example
Example 1: zsh: command not found: laravel
export PATH="$HOME/.composer/vendor/bin:$PATH"
Example 2: laravel command not found
echo 'export PATH="~/.config/composer/vendor/bin"' >> ~/.bashrc
echo 'export PATH="~/.config/composer/vendor/bin"' >> ~/.zshrc
Example 3: laravel: command not found
export PATH=~/.config/composer/vendor/bin:$PATH
source ~/.bashrc
Example 4: laravel: command not found
export PATH=~/.config/composer/vendor/bin:$PATH
source ~/.bashrc