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.
Branch: master
Clone or download
Moshe Weitzman
Latest commit a2c3ced Jun 23, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Try to fix fail on test_72_highest on CircleCI. Jun 23, 2019
.docker Improve testability of the startup (runtime / preflight) code (#3809) Dec 9, 2018
.github/ISSUE_TEMPLATE Update issue templates for documentation requests Jul 15, 2018
build/scripts fix code comment. Feb 28, 2018
docs Add Drush Test Traits (#4003) Mar 22, 2019
examples Document how to show current site alias in Zsh prompt (#4086) Jun 1, 2019
includes Print class name in drush_op() Apr 25, 2019
misc Remove dead code from runserver Nov 26, 2018
src Fix #4070. Drush should warn when running entity-updates on Drupal 8.… Jun 21, 2019
sut Don't call bootstrapValidate commands repeatedly, and add --uri tests ( Mar 12, 2019
tests Reduce the useless verbosity of batch update output (#3372) (#4090) Jun 3, 2019
.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 Add mysql service to Travis config. (#4078) May 23, 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 Add jsonapi command (#4045) Apr 21, 2019
composer.json Add jsonapi command (#4045) Apr 21, 2019
composer.lock Update dependencies. (#4051) Apr 23, 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. Jun 4, 2019
drush.php Check if $_SERVER['PWD'] recognizable by PHP (#3929) Feb 28, 2019
drush.yml Comment our own drush.yml file. Sep 25, 2017
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.