简体   繁体   中英

Drush not runnig on ubuntu18.10

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?

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM