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
Clone or download
Failed to load latest commit information.
.circleci Fix #3417. sql-sync dump filename not automatically generated (#3418) Feb 27, 2018
.github/ISSUE_TEMPLATE Update issue templates for documentation requests Jul 15, 2018
build/scripts fix code comment. Feb 28, 2018
docs Fix #3641. Move path doc to non-optional step. Aug 12, 2018
examples Add an 'ssh.tty' option to site aliased. (#3648) Aug 13, 2018
includes Factor SiteAlias classes out into consolidation/site-alias project. (#… Jun 23, 2018
internal-copy/Config/Yaml Private yml parser (#3269) Dec 22, 2017
isolation Isolation via test scenarios (#3644) Aug 9, 2018
misc Fix router in drush rs (#3264) Dec 20, 2017
scenarios Update dependencies to site-alias ^1.1.1. Aug 14, 2018
src Merge branch 'master' of github.com:drush-ops/drush Aug 14, 2018
tests Isolation via test scenarios (#3644) Aug 9, 2018
.gitignore Add auto-build of Sami API docs Nov 23, 2017
.travis.yml Isolation via test scenarios (#3644) Aug 9, 2018
CONTRIBUTING.md Fix typos (#3371) Feb 8, 2018
README.md Fix typos (#3371) Feb 8, 2018
composer.json Update dependencies to site-alias ^1.1.1. Aug 14, 2018
dr.bat Some enhancements to Finder and misc Unish fixes for Windows. Aug 20, 2016
drush Make drush.php our front controller, and leave the 'drush' script as … Sep 25, 2017
drush.info Back to dev. May 23, 2018
drush.php Also load 'drush9.yml' to allow for variant Drush configuration files… ( Mar 14, 2018
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 Briefer title. Feb 17, 2018
phpunit.xml.dist Isolation via test scenarios (#3644) Aug 9, 2018
sami-config.php Add auto-build of Sami API docs Nov 23, 2017
shippable.yml Run the isolation tests on Travis, and the functional tests on Circle… Feb 3, 2018
sut Simplify tmp dir name during Unish Nov 7, 2017
unish.clean.php PSR-2 formatting. (#2758) May 14, 2017
unish.phpunit.php PSR-2 formatting. (#2758) May 14, 2017
unish.sut.php Use named repositories when building the SUT Mar 14, 2018


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 Latest Unstable Version License Documentation Status

Code style 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/README.md for more information.


Drush Logo PhpStorm Logo