0

I am new to this. I installed drush and did

export PATH=$PATH:~/.config/composer/vendor/drush/drush

So that I can execute drush from the command line with the drush command My issue is that I have to execute this command at every restart for it to work. How can I make this permanent?

ventura
  • 13
  • 5
  • Does this answer your question? [Permanent PATH variable](https://askubuntu.com/questions/500775/permanent-path-variable) – Kulfy Mar 31 '21 at 14:56

1 Answers1

1

you can add your command to your ~/.bashrc file ex:

echo "export PATH=$PATH:~/.config/composer/vendor/drush/drush" >> ~/.bashrc

then reload the file

. ~/.bashrc