adrian-d of Rouge Devs
1/5/2017 - 11:43 AM

Upgrade Drush to Drupal 8 (securing Drupal 6-8 support)

Upgrade Drush to Drupal 8 (securing Drupal 6-8 support)

# As we know, Drush 6 (the initial Drush installation on rouge-dev1, 2 and 3) only supports a maximum of Drupal 7.

# http://docs.drush.org/en/master/install (there is a table at the bottom of supported versions).

# You will need to run the following commands in order:

cd ~/.composer
vim composer.json

# This should list the Drush installation, and the version you are using. Press shift+a to edit this file, and swap the '6' in the version number for '8'. It is important that you set it as 8, not 9.

sudo composer global update

# This will download your package and overwrite the existing files in place.