// Tutorial Series //
An Introduction to Drush
Default avatar
By dannysipos
Developer and author at DigitalOcean.
An Introduction to Drush

Introduction

Drush is a command-line interface specifically made for working with Drupal. It provides a much faster management experience and is recommended if you are comfortable with using the command line.

Summary View
detailed View
// Tutorial //

This tutorial will show you how to setup Drush on a cloud server running Ubuntu 12.04. Additionally, to illustrate its power, it will show you how to deploy a brand new Drupal site directly from the command line.

// Tutorial //

Drush is a very useful tool which helps you perform various admin tasks using just one or two commands in the terminal, replacing the many clicks and page refreshes needed in the UI. This tutorial will go through some of the basic Drush commands and will work with a standard Drupal installation to illustrate them.

// Tutorial //

In this tutorial, you will get a straightforward guide on how to declare your own Drush commands. As part of this exercise, we will declare a command that will publish all the nodes of a given content type which the user passes as the command argument.

Check out all our Tutorial Series

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in our Questions & Answers section, find tutorials and tools that will help you grow as a developer and scale your project or business, and subscribe to topics of interest.

Sign up now

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up