Drupal Drush Commands

If you are using Drush you know how powerful this Drupal command line tool can be. It will deploy and maintain a complete Drupal website in seconds. Below is a selection of commands that are useful for a web developer, feel free to take a copy for your own use. For the commands to work you have to ensure that Drush is installed on your computer to find out more go to drupal project drush if you are using Debian it will be in the repositories.

 

Download Drupal Module using Drush.

drush dl <module name>
 

Clear  Drupal Caches.

drush cache-clear

 

To list Drupals currently installed and enabled modules.

drush pm-list

 

Enabling a Drupal module.

drush pm-enable <module name>

 

Disable a Drupal module.

drush pm-disable <module name>

 

If you would like to know more about how Purencool Website Development can help you contact us now . Or if you have a great drush command that you would like to add to the list email it to us via the contact form.

Add new comment