Setting Up Drush

How to setup Drush, the Drupal shell.

Download the current version of drush from drupal.org:

# Note: This is on the computer hosting your website(s)! % cd ~/websites;

% wget http://ftp.drupal.org/files/projects/drush-All-Versions-2.0.tar.gz % tar xzf drush-All-Versions-2.0.tar.gz % cd drush # make a link so your shell can find drush (if ~/bin in you \$PATH) % echo 'alias drush=~/websites/drush/drush' >>~/.bashrc % source ~/.bashrc

Tags:  | Login to post comments