O'Reilly logo

Drupal 8 Development Beginner's Guide - Second Edition by Kurt Madel, Malabya Tewari, Rakesh James, Krishna Kanth, Edward Crompton, Samuel Keen, Tassos Koutlas, Neeraj Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – installing Drupal 8

We are going to use a combination of Drush and Git to install Drupal:

  1. Mac OS X: Open up the Terminal application, and type the following command:
    cd /Applications/MAMP/htdocs
    

    Windows: Open Command Prompt and type the following command:

    cd C:\xampp\htdocs
    
  2. Now, we are going to use Git to locally clone the Drupal core Git repository into a new d8dev folder (this will take a few minutes or so depending on your network bandwidth):
    $ git clone --branch 8.1.x http://git.drupal.org/project/drupal.git d8dev
    Cloning into 'd8dev'...
    remote: Counting objects: 456756, done.
    remote: Compressing objects: 100% (95412/95412), done.
    remote: Total 456756 (delta 325729), reused 445242 (delta 316775)
    Receiving objects: 100% (456756/456756), ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required