What does Drush do?
Drush turns actions you would normally perform in the Drupal admin UI into quick terminal commands. Clearing caches, enabling modules, running database updates, importing and exporting configuration, and managing users all become single commands. Because those commands are scriptable, Drush is also what powers automated build and deployment routines.
What are the benefits of Drush?
- Faster than the UI. Routine tasks run in seconds with one command instead of several clicks.
- Scriptable and automatable. Commands can be chained into build and deploy scripts, so releases are repeatable.
- Consistent across environments. The same command does the same thing locally, on staging, and in production.
- Essential for config workflows. Importing and exporting configuration is how modern Drupal teams move changes between environments.
- Built for developers. It is the standard tool experienced Drupal developers reach for every day.
Why use Drush for Drupal?
Modern Drupal development relies on the command line. Configuration management, database updates, and deployments are all driven by Drush, and most Drupal tutorials and documentation assume you have it. Learning a handful of commands pays off immediately in day-to-day work.
How Webhaven uses Drush
Drush comes ready to use in every Webhaven project through its preconfigured DDEV setup, so you can manage your site from the terminal from the very first command. If you are new to the local environment that runs it, see What is DDEV? first.
Ready to start using Drush?
Once you know what Drush is, the commands are what you will use every day. See our Useful Drush commands cheat sheet for the ones worth keeping close.