Drush: Common usage examples

In a former post, we showed how to upgrade user’ password in Drupal with drush. With this post, you can find more usage examples for drush.

drush dl Module #Download a module
-dev #Specify which type of module to download
-select #List available version to choose.
drush en Module  #To enable a module
drush dis Module  #To disable a module
drush pm-uninstall  #To uninstall a module
drush pm-update  #To upgrade a module. (can be used to update core as well)
drush up drupal  #To upgrade drupal itself
drupal up #To upgrade all drupal modules
drupal up #Check and upgrade all modules.
drush cc all  #Clean all cache

Leave a comment

Your email address will not be published. Required fields are marked *