drush

-bash: drush: command not found

vendor/bin/drush

Normal output

Executing vendor/bin/drush each time is probably inefficient and only drush is better.

How to do that correctly?

I have tried to put the alias drush="vendor/bin/drush" in "$HOME"/.bashrc and then source "$HOME"/,bashrc, but when executing drush I still get that the command isn't found.

How to alias vendor/bin/drush into drush?

Comments

ressa’s picture