For a plugin for Sublime Text I was required to install a composer package globally.
In order to do this I had to run the following command:
composer glo
~/.config/composer/vendor/bin/laravel adding this to my bashrc file as a alias works on ubuntu 20.04