laravel command not found ubuntu 20.04 code example
Example 1: laravel: command not found
export PATH=~/.config/composer/vendor/bin:$PATH
source ~/.bashrc
Example 2: laravel command not found ubuntu
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
Example 3: command not found: laravel
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
Example 4: laravel command not found ubuntu
nano .bashrc
Example 5: laravel command not found ubuntu
source ~/.bashrc
Example 6: laravel command not found ubuntu
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' > ~/.bashrc
source ~/.bashrc