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