// 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

Try DigitalOcean for free

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

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel