Managing Projects with Drush cheatsheet
Download Drupal
Download the latest stable version of Drupal:
drush dl drupal
Download the latest recommended release of Drupal 7 core:
drush dl drupal-7
Rename Drupal after downloading it:
drush dl drupal --drupal-project-rename=drupal
Download a Drupal module or theme
Download a new module or theme:
drush dl <projectname>
Specify the directory you want to download to:
drush dl <projectname> --destination=sites/all/modules
Enable a Drupal module or theme
Enable a module or theme and skip confirmation:
drush en <projectname> -y
Disable a Drupal module or theme
Disable a module and skip confirmation:
drush dis <projectname> -y
Uninstall a module and skip confirmation:
drush pmu <projectname> -y
List modules and themes
List all available modules and themes:
drush pml
List the status of a particular module or theme:
drush pml | grep <projectname>
Show module or theme info
Show information about a module or theme:
drush pmi projectname