Skip to content

Instantly share code, notes, and snippets.

@ModulesUnraveled
Created October 6, 2014 17:12
Show Gist options
  • Save ModulesUnraveled/54581674dd57b81072d8 to your computer and use it in GitHub Desktop.
Save ModulesUnraveled/54581674dd57b81072d8 to your computer and use it in GitHub Desktop.
Install Drush 7.x
#0. Update Drush to 7.x
/* Taken from https://github.com/drush-ops/drush */
a. Install Composer Globally
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
b. Make sure Composer's global bin directory is on the system PATH
sed -i '1i export PATH="$HOME/.composer/vendor/bin:$PATH"' $HOME/.bashrc
source $HOME/.bashrc
c. To install Drush 7.x (dev) which is required for Drupal 8:
composer global require drush/drush:dev-master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment