Installing Drush by Hand
Drush is a cli for Drupal. In this article I’ll cover how to install it without pear. I won’t go into details on that.
Oddly enough, you don’t need to compile anything.
Go to the home directory of the user you usually work under on the server and let’s go.
Step one:
wget http://ftp.drupal.org/files/projects/drush-7.x-5.8.tar.gz
Step two:
tar xf drush-7.x-5.8.tar.gz
Step three:
chmod u+x drush/drush
Edit the ~/.bashrc file with these lines:
alias drush='~/drush/drush'
Then simply do:
source ~/.bashrc
Go into the Drupal folder and voila:
drush cc all