Site Building

3.3. Concept: Methods for Downloading and Installing the Core Software for Drupal 8, 9, 10, and 11

What methods are available for downloading the core software?

Before you can build a site, you will need to first download the core software. Depending on your plans, there are several ways that you can download the core software:

Use Composer
If you plan to build a site, and continue to develop it over time you should use Composer to download the core software, because Composer will manage the dependencies properly. If you plan to use the Drush tool (see Section 3.2, “Concept: Additional Tools”), using Composer is required. See Section 3.5, “Using Composer to Download and Update Files” for instructions.
Try a free online demo
If you are evaluating whether or not to use Drupal to build a site, you can use an online provider to get a demo installation of the core software in 20 minutes or less. See the Drupal.org page "Try Drupal".
Use a one-click installer from your hosting provider
If you choose to install the core software at your hosting provider, your hosting provider may have specific documentation and/or a one-click install that you can use. See Drupal.org’s list of hosting providers that support Drupal.
Use a pre-configured environment
Use a pre-configured environment or virtual machine that contains Drupal and all the required supporting software to install Drupal locally. See the section for your operating system under Drupal.org community documentation page "Local server setup guide" for possible options.

What happens when I install the core software?

Installing the core software means setting up some database tables, configuration, and an administrative user account, so that you can build and use your site.

What methods are available for installing the core software?

There are several ways to install the core software:

Behind-the-scenes installer
If you choose to use an online demo or one-click installer from a hosting provider, the core software may be installed for you automatically.
Interactive installer
The core software has an interactive installer that presents you with several on-line forms, and then completes the installation using the information you provide in the forms. See Section 3.4, “Preparing to Install” and Section 3.6, “Running the Interactive Installer”.
Command-line tool
Command-line tools (see Section 3.2, “Concept: Additional Tools”) can also be used to perform the installation steps.
Demo site installer

Quickly create a temporary demo site that uses the built-in web server and SQLite database that are part of PHP by running the command below from the root directory of your project. In this case, you will not run the interactive installer. See the Evaluator Guide to learn more.

----
php -d memory_limit=256M core/scripts/drupal quick-start demo_umami
----

Attributions

Written and edited by Drew Gorton, Michael Lenahan at erdfisch, Jennifer Hodgdon, and Jojy Alphonso at Red Crackle.

Drupal User Guide