Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.
PHP Other
Switch branches/tags
Failed to load latest commit information.
docs Remove more references to legacy bash completion. Apr 18, 2017
examples Docs fixes. Apr 27, 2017
includes Fix #2680 Use Symfony questionHelper and deprecate legacy functions (#… Apr 23, 2017
misc Remove ancient Windows build system. Windows users now use same codeb… Feb 16, 2017
src Spread our drush.services.yml files around to the directories they be… Apr 28, 2017
tests Use drush.command for tag name Apr 28, 2017
.gitignore Fix #2688. Remove /composer.lock Mar 23, 2017
.travis.yml Test against stable Drupal and highest Drupal (8.4.x) (#2690) Mar 26, 2017
CONTRIBUTING.md Update docs a hair. Apr 24, 2017
README.md Better drush8 docs links. Feb 22, 2017
appveyor.yml Remove Make from Drush9 in favor of Composer. (#2644) Feb 28, 2017
composer.json Console 3.2 Compat and use drupal/core for composer-highest. (#2724) Apr 27, 2017
dr.bat Some enhancements to Finder and misc Unish fixes for Windows. Aug 20, 2016
drush Update drush finder script for a recent change in the filename for dr… Jan 8, 2016
drush.api.php [WIP] Fix #2106. Port help commands to Annotated. (#2670) Mar 27, 2017
drush.complete.sh Replacing which with command test for better reliablity. Mar 30, 2016
drush.info Back to dev. Apr 24, 2017
drush.launcher Split 'drush' script into finder, wrapper and launcher stages. Sep 29, 2015
drush.php Progress on Appveyor testing. Still failing lots of tests. Aug 27, 2016
drush_logo-black.png #670736 by dman. Add drush logo. Not used anywhere, but its official.… Feb 5, 2010
mkdocs.yml Remove --skip-modules from 'cim' and 'cex' (#2684) Mar 21, 2017
unish.bat Add unish.bat for easier testing on Windows. Aug 30, 2016
unish.clean.php Unish builds Site-Under-Test via Composer (#2651) Mar 6, 2017
unish.phpunit.php Unish builds Site-Under-Test via Composer (#2651) Mar 6, 2017
unish.sut.php Test against stable Drupal and highest Drupal (8.4.x) (#2690) Mar 26, 2017


Drush is a command line shell and Unix scripting interface for Drupal. Drush core ships with lots of useful commands for interacting with code like modules/themes/profiles. Similarly, it runs update.php, executes sql queries and DB migrations, and misc utilities like run cron or clear cache. Drush can be extended by 3rd party commandfiles.

Latest Stable Version Total Downloads Latest Unstable Version License Documentation Status




Q: What does "drush" stand for?
A: The Drupal Shell.

Q: How do I pronounce Drush?
A: Some people pronounce the dru with a long 'u' like Drupal. Fidelity points go to them, but they are in the minority. Most pronounce Drush so that it rhymes with hush, rush, flush, etc. This is the preferred pronunciation.

Q: Does Drush have unit tests?
A: Drush has an excellent suite of unit tests. See tests/README.md for more information.


Drush Logo PhpStorm Logo