Community Documentation

Installing a specific version of a project with drush

Last updated April 26, 2012. Created by jimthunderbird on March 25, 2012.
Edited by FluxSauce, shamio. Log in to edit this page.

To download a specific version of a project, specify the project name, followed by a dash, then the version name. The -y argument answers "yes" to any and all prompts.

drush -y dl og-1.3 # shortcut for pm-download
drush -y en og # shortcut for pm-enable

You can optionally specify the major version as well...

drush -y dl og-7.x-1.3

Care should be taken to ensure you don't download a version intended for a different Drupal version than what you have installed.

About this page

Drupal version
Drupal 6.x, Drupal 7.x
Level
Beginner
Audience
Programmers, Site administrators
Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.