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 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 independant 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. Since 2008, the module has been maintained by Moshe Weitzman, Owen Barton and Adrian Rossouw.

Releases

Official releasesDateSizeLinksStatus
All-Versions-2.12009-Oct-2678.33 KBRecommended for 6.xThis is currently the recommended release for 6.x.
Development snapshotsDateSizeLinksStatus
All-Versions-HEAD2009-Nov-0794.56 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.