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