Install drush 10 | Drupal 8

Install drush 10

Submitted by editor on Wed, 11/04/2020 - 18:13
Question

How to install drush 10 ?

Install via composer

composer global require drush/drush:10.x

 

To add Drush to your path, type the following command:

echo 'export PATH="$HOME/.config/composer/vendor/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

 

Check version

drush version

 

Update drush

composer global update drush/drush

 

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.