Drush Commands

Drush has a ton of commands and commands differ depending on what version of Drupal or Drush you are using. I am not going to list all Drush Commands here, as there are actually better resources for that. Instead, I will be focusing on Drush commands that are used most often and will be most helpful for Drupal developers just getting started with Drush.

Drush Download

The drush download command allows you to download a project up to Drupal 7 using the command line.

Note: The drush download command is deprecated in Drupal 8. Drupal 8 projects are handled using Composer instead.

drush dl project_name

Drush Enable

The drush enable command allows you to enable a project such as a module or theme on a Drupal website using the command line.

drush en project_name

Drush Disable

The drush disable command allows you to disable a project such as a module or theme on a Drupal website using the command line.

Note: Drupal 8 sites must use the drush uninstall command instead, as modules cannot be disabled in Drupal 8, they must be uninstalled.

drush disable project_name

Drush Uninstall

The drush uninstall command allows you to disable a project such as a module or theme on a Drupal website using the command line.

drush uninstall project_name
Previous