- But first of all "What is Drush?"
"Drush is a command line shell and Unix scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend most of their working hours at the command prompt."
Drush allows you to easily manage, update, and maintain your modules via command line without having the need to keep a CVS cheat sheet laying around. - Requirements.
Drush requires PHP 5.2. As of version 2.0, Drush is a stand-alone tool.
It therefore requires PHP to be compiled with CLI-mode (command line interface) enabled. This allows PHP files to be executed via command line. Under ubuntu, if not already available, you can install it with the following command:sudo apt-get install php5-cli
- Installation
Download Drush form drupal.org, unpack it in the /opt directory. Unlike other modules this one does not need to be in sites/all/modules.#cd /opt #wget http://ftp.drupal.org/files/projects/drush-All-versions-4.0-rc10.tar.gz (the latest version) #tar -zxvf drush-All-versions-4.0-rc10.tar.gz
Now we need to put Drush on the path; a symbolic link will do the job for us:#ln -s /opt/drush/drush /usr/local/bin/
Post new comment