Information for: DEVELOPERS   PARTNERS

Installing Lightning locally

Use the procedure on this page to install Acquia’s Lightning distribution for Drupal 8 on a local server.



After you confirm that you have access to the required software, complete the following steps:

  1. Open a command prompt window.

  2. Run the following command:

    composer create-project acquia/lightning-project MY_PROJECT --no-interaction

Composer will create a new directory called MYPROJECT containing a docroot directory with a full Lightning codebase. You can then install Drupal normally.


If you want to push your local installation to Acquia Cloud, you must update your .gitignore file as described in the .gitignore on Acquia-hosted sites versus Drupal default .gitignore Acquia Knowledgebase article.