drush pm-download
Download projects from drupal.org or other sources.
Drush Command
drush pm-download
Arguments
projects : A comma delimited list of drupal.org project names, with optional version. Defaults to 'drupal'
Aliases
drush dl
Options
--destination : [object Object]
--use-site-dir : Force to use the site specific directory. It will create the directory if it doesn't exist. If --destination is also present this option will be ignored.
--notes : Show release notes after each project is downloaded.
--variant : [object Object]
--select : Select the version to download interactively from a list of available releases.
--drupal-project-rename : Alternate name for "drupal-x.y" directory when downloading Drupal project. Defaults to "drupal".
--default-major : [object Object]
--skip : Skip automatic downloading of libraries (c.f. devel).
--pipe : Returns a list of the names of the extensions (modules and themes) contained in the downloaded projects.
--version-control=backup : [object Object]
--version-control=bzr : [object Object]
--version-control=svn : [object Object]
--cache : Cache release XML and tarballs or git clones. Git clones use git's --reference option. Defaults to 1 for downloads, and 0 for git.
--package-handler=wget : [object Object]
--package-handler=git_drupalorg : [object Object]
--source : The base URL which provides project release history in XML. Defaults to http://updates.drupal.org/release-history.
--dev : Work with development releases solely.
Examples
Download latest recommended release of Drupal core.
drush dl drupal
drush dl drupal-7.x
drush dl drupal-6
drush dl cck zen
drush dl og-1.3
drush dl diff-6.x-2.x
drush dl views --select
drush dl webform --dev
drush dl webform --cache