Please follow the steps for Ubuntu. I have tried & successfully ran command for Ubuntu 20.04.

nano ~/.bashrc
echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bashrc
source ~/.bashrc
Laravel Installation in Ubuntu: laravel command not found