Drush

moshe weitzman - November 13, 2006 - 02:00

#D7CX: I pledge that Drush will have a full Drupal 7 release on the day that Drupal 7 is released.

drush is a command line shell and Unix 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.

A web UI may be found at the Terminal project.

A few core drush features:

  • The Drush Package Manager allows you to download, enable, disable, uninstall, update modules/themes/profiles/translations from the command line in a very simple way (apt-get style) - just type e.g. drush dl views and drush enable views in a Drupal directory to install the Views project!
    Additionally, the Drush Package Manager also allows you to update all your modules with just one command - drush update.

  • Drush Core: several useful utilities for site administrators and developers (e.g. drush cron or drush cache clear)
  • Drupal SQL Commands help you issue queries to any of your databases (i.e. is multi-site aware) and even helps you migrate databases between your environments.
  • Drush simpletest commands make it easy to run unit tests from the command line and email results to your dev team.

Many contributed modules provide Drush commands.. If your module works with drush, please add the drush category to its project page. Also see the Ægir hosting system.

Be sure to read the accompanying README.txt for installation and usage instructions.

It is valid to use the latest 'All Versions' release (or HEAD) no matter what your version of Drupal is. Drush is independent of Drupal version :)

Drush was originally developed by Arto for Drupal 4.7 (this alpha code can still be found in the DRUPAL-4-7 branch). In May 2007, it was partly rewritten and redesigned for Drupal 5 by frando. The module is now maintained by Moshe Weitzman, Owen Barton, Adrian Rossouw, and greg.1.anderson.

Downloads

Recommended releases

Version Downloads Date Links
All-versions-3.0-beta1 Download (150.91 KB) 2010-Feb-23 Notes

Other releases

Version Downloads Date Links
All-Versions-2.1 Download (78.33 KB) 2009-Oct-26 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.