Skip to content


Drush is a command line shell and Unix scripting interface for Drupal. Drush core ships with lots of useful commands and generators. Similarly, it runs update.php, executes SQL queries, runs content migrations, and misc utilities like cron or cache rebuild. Drush can be extended by 3rd party commandfiles.

Drush is used throughout DrevOps to interact with Drupal from the workflow scripts and Behat tests.

It also allows a developer to interact with the site via CLI during development.

While all the standard Drush commands supported, DrevOps also provides some shorthand commands to abstract some of the common tasks:

  • downloading the database dump from the remote environment
  • importing the database dump into the local environment
  • running database updates and clearing caches

See workflows for more details.


Drush should be used from the inside of the container.

docker compose exec cli drush <command>
ahoy drush <command>