command not found: laravel

PHP
# For mac just run these 2 commands
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >>  ~/.zshrc
source ~/.zshrcexport PATH="$PATH:$HOME/.composer/vendor/bin"
#these commands executed on Ubunyu 20.04
export PATH=~/.config/composer/vendor/bin:$PATH
source ~/.bashrcexport PATH=~/.config/composer/vendor/bin:$PATH

source ~/.bashrc
Source

Also in PHP: