I was following this solution and noticed that it's temporarily working for me. I tried doing
export PATH="$PATH:$HOME/.config/composer/vendor/bin" >> ~/.bashrc
and
export PATH="$PATH:$HOME/.config/composer/vendor/bin" >> ~/.profile
than I did source ~/.bashrc
and source ~/.profile
to update those files. When I open them in an editor I don't see the new path in either file. However, I'm able to use the laravel command in that instance of terminal where I used those commands, but it doesn't work in any new terminals. How can I make this change to my $PATH
permanent?