I'm using Drush 10, and I can't use dl to download a module, since the command was removed to push Composer use.

Is there a way to download a Drupal 7 module into a Drupal 8 site using Composer, so that I can use the Drupal 7 to 8/9 Module Upgrader script on it?

The project I want to download doesn't have a Drupal 8 version yet, and it has no composer.json.

  • If you're locked locally to Drush 10, you can use a docker hub image to execute Drush 8 to do the download (e.g. docker run -v $(pwd):/app drush/drush:8 dl pathauto)
    – Shawn Conn
    May 7, 2020 at 5:07

1 Answer 1


If I were you, I would just use wget.

Copy the Zip file url, ex:

sudo wget https://ftp.drupal.org/files/projects/views-7.x-3.24.zip

and then

sudo unzip views-7.x-3.24.zip

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.