2

Instructions on Drupal.org for installing Drupal with composer provides the following example:

composer create-project drupal/drupal my_site_name 8.3.*@dev --no-dev

This provides me with the latest DEV version of Drupal. How do I get the lasted stable release?

2
composer create-project drupal-composer/drupal-project:8.x-dev \
  YOURDIRNAME \
  --stability dev \
  --no-interaction
  • 1
    Edited for readability - note that \ continues the command in cli. – Kevin May 7 '17 at 18:30
  • It is my understanding that there are two different templates for a Drupal 8 site - 1- drupal/drupal (docroot is repo root) 2- drupal-composer/drupal-project (docroot is subdir) I'm trying to install the latest version of Drupal using option #1 and am a little confused about the correct syntax for that. – stpaultim May 8 '17 at 19:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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