Last updated March 10, 2023
Drush is a command line interface for your Drupal site. It allows you to perform common administrative tasks in a scripting environment. Using Drush you can do things like clear your cache, import configuration settings, create new users, and enable modules from the command line. Once you become familiar with Drush you will find yourself doing a lot less clicking through your site's backend during development.
Install Drush with Composer:
composer require drush/drush
- Perform common site administration commands from the command line.
- Speed up and improve your daily development workflow.
- Automate common repetitive manual tasks (like importing configuration files) during the deployment process.
Our Drush tutorials have been updated and tested with the latest version of Drush. Some tutorials have alternative commands for Drush 8 (an older version of Drush, before major API changes were implemented).