Install Drupal 8 using git and composer


To install Drupal 8.5.x

 Using git

git clone --branch 8.5.x https://git.drupal.org/project/drupal.git

User composer

composer create-project drupal/drupal <<your site name>>

Note: "<<your site name>>" to be replace with your name of the site. This command will download latest version of Drupal 8.

Comments