Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.
Misc
- www.drush.org
- A list of modules that include Drush integration
- Drush is not a module, and does not participate in the usage statistics system at drupal.org
- Drush5 works with two versions of Drupal (6,7). Use Drush 4 for Drupal 5, and use Drush6 (not yet released) for Drupal 8 (also works with 6,7). Drush6 is available in the 8.x-6.x branch of the Drush git repository
- For more help, please see the Resources page on drush.org and the Drush FAQ. Run the
drush topiccommand for even more help on various topics.
Install - Windows
There is a convenient Drush installer for Windows available on www.drush.org. This is drush5, since drush4 does not work with Windows.
Install/Update - Unix/OSX
The easiest way to install the latest release of Drush on Unix/Linux systems is via our custom PEAR channel.
pear channel-discover pear.drush.org
pear install drush/drushTip: Use sudo to overcome permission problems. If the channel-discover fails, try running the following sequence of commands:
pear upgrade --force Console_Getopt
pear upgrade --force pear
pear upgrade-allTo update, run pear upgrade drush/drush
To get alternate drush versions, replace that last line with one of the below that matches your fancy.
pear install drush/drush-4.6.0
pear install drush/drush-5.0.0- If you are using Debian or Ubuntu, you can alternatively use the Debian packages uploaded in your distribution. You may need to use the backports to get the latest version, if you are running a LTS or "stable" release.
- For advice on using Drush with your ISP, see the hosting section of the Resources page on drush.org.
Install - manual
Folks are welcome to just download (or git clone) and then configure their system manually. See README.txt.
Unit Testing
Drush comes with a full test suite powered by PHPUnit. Each commit gets tested by the awesome travis.ci continuous integration service:
History
Drush was originally developed by Arto for Drupal 4.7. In May 2007, it was partly rewritten and redesigned for Drupal 5 by frando. The module is now maintained by Moshe Weitzman, Owen Barton, greg.1.anderson, jhedstrom, jonhattan, and Mark Sonnabaum.
Downloads
Recommended releases
Other releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Reported installs: 134 sites currently report using this module. View usage statistics.
- Downloads: 773,278
- Last modified: May 1, 2013

