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.
build/scripts Allow sami parsing to exit with failure. Nov 23, 2017
docs Support global generators (#3265) Jan 4, 2018
examples Document the ssh-options global option. Jan 17, 2018
includes Simplify shell escape code, particularly with respect to SSH Commands ( Jan 6, 2018
internal-copy/Config/Yaml Private yml parser (#3269) Dec 22, 2017
isolation Private yml parser (#3269) Dec 22, 2017
misc Fix router in drush rs (#3264) Dec 20, 2017
src Fix #3316. updatedb fails to run updates when status checks fail. Jan 20, 2018
tests All modules should be loaded when performing post-updates (#3311) Jan 19, 2018
.gitignore Add auto-build of Sami API docs Nov 23, 2017
.travis.yml before_install, not before_script Nov 26, 2017
README.md Add parens Nov 30, 2017
circle.yml Avoid github rate limit error - https://circleci.com/docs/1.0/compose… May 24, 2017
composer.json Use latest license identifier. Jan 20, 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. Jan 9, 2018
drush.php Drush runtime (#3069) Oct 15, 2017
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 Link to new config docs. Dec 4, 2017
sami-config.php Add auto-build of Sami API docs Nov 23, 2017
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 absolute path to test codebase (#3223) Dec 9, 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 Latest Unstable Version License Documentation Status



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