0

while running Drush command on ubuntu 18.10 it gives

Command 'drush' not found, did you mean:

command 'rush' from deb rush

Try: sudo apt install

I install composer globally and used $ composer global require drush/drush installed drush

$ composer global require drush/drush

drush --version?

Community
  • 1
  • 1

1 Answers1

0

the guide examples all include some kind of version at the end of the global require statement

composer global require drush/drush:dev-master

then you add composer to your ~/.bashrc or ~/bash_profile file

export PATH="$HOME/.composer/vendor/bin:$PATH"

If the above does not work please review the drush installation guide.

Ian Preglo
  • 421
  • 2
  • 10