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

0
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