php artisan php command not found ubuntu code example
Example 1: laravel: command not found
export PATH=~/.config/composer/vendor/bin:$PATH
source ~/.bashrc
Example 2: laravel: command not found
#these commands executed on Ubunyu 20.04
export PATH=~/.config/composer/vendor/bin:$PATH
source ~/.bashrc