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.
Code style | Isolation Tests | Functional Tests |
---|---|---|
- Installing (and Upgrading)
- General Documentation
- API Documentation
- Drush packages available via Composer
- A list of modules that include Drush integration
- Drush comes with a full test suite powered by PHPUnit. Each commit gets tested by our CI bots.
- Post support requests to Drupal Answers. Tag question with 'drush'.
- Report bugs and request features in the GitHub Drush Issue Queue.
- Use pull requests (PRs) to contribute to Drush.
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.
- Originally developed by Arto Bendiken for Drupal 4.7.
- Redesigned by Franz Heinzmann in May 2007 for Drupal 5.
- Maintained by Moshe Weitzman with much help from the folks listed at https://github.com/orgs/drush-ops/people.
- Thanks to JetBrains for supporting this project and open source software.