Skip to content
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
  1. PHP 98.6%
  2. Other 1.4%
Branch: master
Clone or download
Latest commit a54df7f Jan 22, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci pm:security passes on 9 (#4239) Oct 30, 2019
.docker Improve testability of the startup (runtime / preflight) code (#3809) Dec 9, 2018
.github/ISSUE_TEMPLATE Update versions in issue template. Nov 17, 2019
.scenarios.lock Try running the Drush 10 test suite with Drupal 9. (#4232) Oct 26, 2019
build/scripts pm:security passes on 9 (#4239) Oct 30, 2019
docs Adding extra information about symlinked packaged commands, see #4290 ( Jan 9, 2020
examples Added env-vars key to (#4173) Sep 18, 2019
includes Try to suport drush_log's error param. Dec 13, 2019
misc Remove dead code from runserver Nov 26, 2018
src Update code comment. Jan 22, 2020
sut Try running the Drush 10 test suite with Drupal 9. (#4232) Oct 26, 2019
tests Tolerate an unrecognized DB Driver during site:install and bootstrap (#… Jan 17, 2020
.env.example UNISH_NO_TIMEOUTS is unused since we moved to CLITrait. (#4047) Apr 21, 2019
.gitattributes Keep things that are only needed for debugging out of Packagist's 'pr… Oct 17, 2018
.gitignore Use --format=json in sql:sync (#3936) Mar 11, 2019
.travis.yml Run integration and unit tests at Circle (#4165) Aug 30, 2019 Combine phpunit configuration for unit and functional tests into a si… Nov 24, 2018 Remove latest unstable chiclet. Its not helpful. May 23, 2019
appveyor.yml Use PHP 7.3.7 exclusively at Appveyor. Dec 3, 2019
composer.json Allow var-dumper 5. Dec 3, 2019
composer.lock Allow var-dumper 5. Dec 3, 2019
docker-compose.yml Fix link in docs. May 22, 2019
drush Make drush.php our front controller, and leave the 'drush' script as … Sep 25, 2017
drush.bat Add testing of all PRs on Windows (via Appveyor) (#3931) Mar 1, 2019 Back to dev. Dec 13, 2019
drush.php Check if $_SERVER['PWD'] recognizable by PHP (#3929) Feb 28, 2019
drush.yml Up dependencies and min PHP. (#4119) Jul 25, 2019
drush_logo-black.png #670736 by dman. Add drush logo. Not used anywhere, but its official.… Feb 5, 2010
mkdocs.yml Add link to new docs file about --filter Nov 9, 2018
phpcs.xml Add jsonapi command (#4045) Apr 21, 2019
sami-config.php Add auto-build of Sami API docs Nov 23, 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. Developers love the generate command, which jump starts your coding project by writing ready-to-customize PHP and YML files. Drush can be extended by 3rd party commandfiles.

Latest Stable Version Total Downloads License Documentation Status

Isolation Tests Functional Tests



Code of Conduct

The Drush project expects all participants to abide by the Drupal Code of Conduct.


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/ for more information.


Drush Logo PhpStorm Logo

You can’t perform that action at this time.