To set the $PATH permanently, set the path in your startup file. This directory exists in different locations based on your operating system; however, here is how you can do it in Debian.Edit the startup file:
And paste these lines at the end of the file:
restart terminal with:
alias laravel='~/.config/composer/vendor/bin/laravel' export PATH="$HOME/.composer/vendor/bin:$PATH"