Drush Ultimate Basic Cheat Sheet
Setup Drush: Download drush from https://git.drupalcode.org/project/drush.git Make the ‘drush’ command executable: $ chmod u+x /path/to/drush/drush create a symbolic link to the Drush executable in a directory that is already in your PATH, e.g.: $ ln -s /path/to/drush/drush /usr/bin/drush Run Following Commands. drush pmi <module-name> : Display primary info of drupal modules drush dl <module-name> : Download Particular drupal module drush en <module-name> : Enable/Install drupal module drush dis <module-name> : Disable drupal module drush uninstall <module-name> : Uninstall drupal module (Delete data from database so cross check module name before run this command) drush upwd --password=”newpassword" “drupal-user” : Change drupal user password with drush command drush watchdog-show --tail : To view drupal logs on terminal Enjoy