Using Drush with Acquia Dev Desktop

Acquia Dev Desktop includes Drush, a command-line shell and scripting interface for Drupal. Drush includes tools for many Drupal development and management tasks. If you are accustomed to working from the command line, you may find that working with Drush is faster and easier than using the Drupal admin user interface.

Using Drush with local sites

For example, there are Drush commands to download, enable, and update contrib modules or themes from Drupal.org. If you wanted to use a module with your local website (in this case, the Pathauto module), use the following procedure:

  1. In Acquia Dev Desktop, in the website list, click your local website.
  2. To the right of the Local code field for your website, click its Drush console button Drush console button.
  3. Enter one of the following Drush commands based on your needs:
    • Download - Obtains the latest recommended version of the module, downloads it, and unzips it into your website's modules directory

      drush dl pathauto
    • Enable - Enables the downloaded module for your website

      drush en pathauto
    • Update - Similar to download, obtains the latest recommended version of the previously downloaded module, and also runs any required database updates

      drush up pathauto

Using Drush with Acquia-hosted sites

Similarly, you can use Drush on an Acquia Cloud website. To open a console window for your Drush commands, complete the following steps:

  1. In Acquia Dev Desktop, in the website list, click your Acquia Cloud website.
  2. To the right of the SSH address for your website, click its Drush console button Drush console button.

On Acquia Cloud, you can use Drush Cloud API commands, which provide a rich set of tools to extend, enhance, and customize your Acquia Cloud website. For more information, see Developing with the Cloud API.

Additional resources

Drupal Projects

Contact supportStill need assistance? Contact Acquia Support