Logo Knowledge
  • Product Documentation
  • Insight
  • Developer Center
  • Training
  • Submit a Request
  • Product Documentation
  • Insight
  • Developer Center
  • Training
  • Submit a Request
  1. Acquia Support Knowledge Base
  2. How-To
  3. Guides

Introduction to Drush

    See more
    • Updated
    • January 28, 2019 19:02

    Drush, short for Drupal shell, is a command-line shell and scripting interface for Drupal. Using Drush, developers can manage and maintain their Drupal websites from the server command line.

    Drush makes website development easier by bypassing all of web services, allowing you to make direct updates to the code and database. It can even directly download and install software and modules for you, so that you don't have to do it yourself.

    Drush has developed alongside Drupal, and there are several different available versions of Drush, just as there are versions of Drupal. The most current version is Drush 8, which can be used with any supported version of Drupal.

    Note

    If you're using Drupal 8, you must download and install Drush 8 or 9.

    Seeing the power of Drush

    As an example of the power of Drush, let's say that you want to use Views with your Drupal 7 website. If you were doing this manually, you'd download the Views module from drupal.org (be sure to also download the Chaos tool suite module, as it's required by Views) making sure that you extract the files in the correct directory, sign in to the website, and then go to the Modules page to enable the modules.

    With Drush, you simply have to execute the following command from a command-line prompt to make Views available on your website:

    drush dl en views

    As it enables the Views module, Drush determines that Views requires the Chaos Tools Suite module, so it downloads and enables that module as well.

    Installing Drush

    If your website's hosting environment already includes Drush, it's ready for your use.

    Note for Acquia product users

    Acquia Cloud, Acquia Cloud Enterprise, and Acquia Cloud Free include the most current and stable release of Drush. For more information, see About Drush on Acquia Cloud.

    For those environments that do not yet have Drush, you'll need to download it from its project page. For information about installing Drush on several different available platforms, including Windows and OS X, see the installation reference page on drupal.org. If you're a Windows user, you can also use the Drush and rsync on Windows Help Center article.

    Additional Drush resources

    Drush resources in the Acquia Product Documentation and Knowledge Base

    The Acquia Help Center contains several documentation pages and articles that use Drush for website maintenance, including the following pages:

    • Using Drush aliases Cloud documentation 
    • Using Drush to apply security updates Knowledge base article
    • Drush Cloud reference Cloud documentation

    External Drush resources

    • Drush drupal.org page
    • The Definitive Guide to Drupal 7, Chapter 26 - Drush
    • A Beginner's Guide To Drush: The Drupal Shell from DigitalOcean
    • Drush Commands - Drush command reference page
    Avatar
    Jacqi Jordan
    • January 28, 2019 19:02
    • Updated
    • Facebook
    • Twitter
    • LinkedIn
    • Google+

    Was this article helpful?
    0 out of 1 found this helpful
    Have more questions? Submit a request

    Return to top

    Related articles

    • Vendored Drush known issue
    • Read-only Solr search index
    • Introduction to Varnish
    • Backing up your Drupal file system
    • With DevDesktop 2, use drush 8 (not drush 9)

    Support

    Acquia Support Knowledge Base
    • Submit a Request
    • Contact Support
    • Acquia Support Guide
    • Product Documentation
    • System Status

    About Acquia

    • About Us
    • Leadership
    • Board of directors
    • Newsroom
    • Careers
    • Customers
    • Contact Us
    53 State Street, 10th Floor
    Boston, MA 02109
    United States
    Phone: 888-922-7842
    Map: Google Maps
    View other locations
    • Feeds
    • Legal
    • Security Issue?

    Copyright © 2018 Acquia Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.