laravel not found ubuntu code example
Example 1: laravel command not found ubuntu
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
Example 2: laravel command not found ubuntu
composer global require "laravel/installer"
Example 3: laravel command not found ubuntu
source ~/.bashrc
Example 4: laravel command not found ubuntu
//on mac
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' > ~/.bashrc
source ~/.bashrc