Switch to the store?

Drush User's Guide

More Information
  • Learn how to install Drush on different systems, and download and install a full Drupal site in seconds.
  • Understand Drush’s command structure with options and arguments.
  • Discover how to set a site to maintenance mode and other common settings with just one command.
  • Back up and restore code, files and databases into one file.
  • Learn to write your own Drush commands and name sites by aliases for even shorter commands.
  • Manage modules and users, monitor messages and run automated tests.

Drush is a command line interface for Drupal. Most of the tasks for building and maintaining a website are repetitive and involve filling in forms on administration pages. The majority of these tasks can be achieved with a single Drush command, shortening the development and maintenance time of a project drastically.

Drush User's Guide will allow you to be more productive and efficient in building and maintaining your Drupal sites through the command line. You will learn to install Drush on different platforms, and manage and configure your Drupal site by learning how to use and create Drush commands.

Become a Drush expert by exploring its command toolkit; customizing it to suit your needs, and extending it with contributed modules.

The command line will allow you to download, enable and upgrade Drupal projects in seconds. Back up your files, code and data in one single file, clear the cache, interact with databases, and deploy sites to remote machines - all using simply the command line. Use Drush with your own commands or alter existing ones; and extend the toolkit with a long list of contributed modules.

Drush User's Guide has everything you need to extend your use of the command line to easily build and manage your Drupal sites.

  • Stop clicking around administration pages and start issuing commands straight to your Drupal sites.
  • Write your own commands, hook in to alter existing ones and extend the toolkit with a long list of contributed modules.
  • A practical guide full of examples and step-by-step instructions to start using Drush right from Chapter 1.
Page Count 140
Course Length 4 hours 12 minutes
ISBN 9781849517980
Date Of Publication 8 Apr 2012


Juan Pablo Novillo Requena

Juan started building PHP websites professionally in London after finishing his University studies in 2006. He spent some time using Symfony and Ruby on Rails and in 2010, back in Spain, he created his first website with Drupal. His commitment with the Drupal Community started a year later once he discovered how much fun and challenging it was to contribute. Currently, he maintains several modules such as Twitter and Oauth among others, he frequently submits and reviews patches for other projects (recently Drush), he participates in the Madrid and Spanish communities with talks and code sprints and overall he does his best to help Drupal evolve and become known to a wider audience.

I would like to thank Lorena for her everyday support in my career and life. My family for believing in me and being so helpful. Also, thanks to my colleague Tushar Mahajan (http://drupal.org/user/398572), whose passion for Drupal and guidance was what got me into all this up to a level I could not even imagine.

Juan's Drupal profile can be found at http://drupal.org/user/682736.