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 topic command 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/drush

Tip: 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-all

To 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:

8.x-6.x:
7.x-5.x:

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

Version Downloads Date Links
8.x-6.0-beta1 tar.gz (443.72 KB) | zip (546.01 KB) 2013-Apr-25 Notes
7.x-5.9 tar.gz (405.17 KB) | zip (490.75 KB) 2013-Apr-17 Notes

Other releases

Version Downloads Date Links
7.x-4.6 tar.gz (283.63 KB) | zip (336.16 KB) 2012-Jun-03 Notes

Development releases

Project Information


Maintainers for Drush

  • moshe weitzman - 1566 commits
    last: 1 day ago, first: 5 years ago
  • Owen Barton - 122 commits
    last: 1 day ago, first: 4 years ago
  • jhedstrom - 140 commits
    last: 2 days ago, first: 1 year ago
  • jonhattan - 333 commits
    last: 5 days ago, first: 2 years ago
  • greg.1.anderson - 677 commits
    last: 1 week ago, first: 3 years ago

Issues for Drush

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants