Installing Drush

Submitted by admindm on Wed, 06/28/2017 - 09:23

A lot of thing in Drupal will ask you to use Drush, while its not the only way to do things it is super easy in most cases and saves you time. While I dont really use it for stuff in this guide I do use it so its good to have.

 
  • curl -sS https://getcomposer.org/installer | php 
  • sudo mv composer.phar /usr/local/bin/composer
  • composer global require drush/drush:7.*
  • export PATH="$HOME/.config/composer/vendor/bin:$PATH"
    
    Run these 4 commands and it will download and install drush on your server