# Running the Interactive Installer

## Goal

Install the core software and create the admin account by running the included
installer.
## Site prerequisites

[Preparing to Install](/link/697)

Note that if you followed the instructions in [Setting Up an Environment with DDEV](/link/701) the core software
was already installed. If you wish to install the core software again, you can
run the command `ddev drush sql:drop` and then follow the instructions below.
## Steps

1. If you are using a 1-click install from a hosting provider or demo site, you
    will most likely see some or all of the following screens as part of the
    installation process. If you uploaded the core files manually or using Composer,
    to start the installer, open a browser and visit the URL that you set up for
    your hosting.
1. Select a language on the first page of the installer; for example,
    English. You could optionally choose from any of the other listed languages.
    The language files for the chosen language will be downloaded and installed so
    that the rest of the installation process can be finished in the chosen
    language. After choosing a language, click _Save and continue_.
    <img src="https://docs.cocobook.com/uploads/images/gallery/2026-10/install-run-1.png" alt="Choose a language" width="100%" />
1. Select an installation profile. Installation profiles provide site features
    and functions for a specific type of site as a single download containing
    the core software, contributed modules, themes, and pre-defined
    configuration. Core contains two installation profiles. Select the core
    Standard installation profile. Click _Save and continue_.
    <img src="https://docs.cocobook.com/uploads/images/gallery/2026-10/install-run-2.png" alt="Choose an installation profile" width="100%" />
1. The next step in the installer will verify that your system meets the minimum
    requirements. If it does not, you'll be presented with an outline of what
    needs to be corrected in order to proceed. If it does, the installer will
    automatically advance to the next step.
1. Provide details of the database you created in the [Preparing to Install](/link/697)
    chapter. Then click _Save and continue_.
    <table>
      <thead>
        <tr>
          <th>Field name</th>
          <th>Explanation</th>
          <th>Value</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>Database name</td>
          <td>The custom name given to the database</td>
          <td>drupal</td>
        </tr>
        <tr>
          <td>Database username</td>
          <td>Username created</td>
          <td>databaseUsername</td>
        </tr>
        <tr>
          <td>Database password</td>
          <td>Password chosen</td>
          <td>************</td>
        </tr>
      </tbody>
    </table>

    <img src="https://docs.cocobook.com/uploads/images/gallery/2026-10/install-run-3.png" alt="Database configuration form" width="100%" />

1. The next step will display a progress bar under the heading _Installing
    Drupal_. After the installer has completed, it will automatically advance to
    the next step.
    <img src="https://docs.cocobook.com/uploads/images/gallery/2026-10/install-run-4.png" alt="Installation progress bar" width="100%" />
1. The next step is to configure some basic information about your new site
    (also notice if there is a warning about file permissions, for a later step).
    Note that the user account you create in this step is the site's admin
    account. See [Concept: The User 1 Account](/link/738) for important information about this unique
    account. You can safely name this account "admin", and make sure to choose a
    secure and unique password.
    Fill in the form with the following information:
    <table>
      <thead>
        <tr>
          <th>Field name</th>
          <th>Explanation</th>
          <th>Value</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>Site name</td>
          <td>The name chosen for the site</td>
          <td>Anytown Farmers Market</td>
        </tr>
        <tr>
          <td>Site email address</td>
          <td>The email associated with the site</td>
          <td>info@example.com</td>
        </tr>
        <tr>
          <td>Username</td>
          <td>The designated user's credentials</td>
          <td>admin</td>
        </tr>
        <tr>
          <td>Password</td>
          <td>The password chosen</td>
          <td>************</td>
        </tr>
        <tr>
          <td>Confirm password</td>
          <td>Repeat the password</td>
          <td>************</td>
        </tr>
        <tr>
          <td>Email address</td>
          <td>The user's email</td>
          <td>admin@example.com</td>
        </tr>
      </tbody>
    </table>

    The remaining fields can likely be left at their default values.
    <img src="https://docs.cocobook.com/uploads/images/gallery/2026-10/install-run-5.png" alt="Configuration form" width="100%" />

1. Click _Save and continue_.
1. You will be redirected to the front page of your new site and you should see
    the message _Congratulations, you installed Drupal!_ displayed at the top of
    the page.
    <img src="https://docs.cocobook.com/uploads/images/gallery/2026-10/install-run-6.png" alt="Installation success" width="100%" />
1. You may have seen a warning in the Configuration step about file permissions,
    and you may continue to see this warning until you fix the permissions. To
    avoid the warning and make your site more secure, change the permissions on the
    _sites/default_ directory and the _sites/default/settings.php_ file so that they
    are read-only (you may need to consult your hosting company documentation about
    how to do that).

## Expand your understanding

Alternatively, you can install the software using Drush instead of the UI. Use
the following Drush command, from inside the directory that you downloaded the
software to, where _DB_NAME_, _DB_USER_ and _DB_PASS_ are your database's
credentials:

```text
drush site:install standard --db-url='mysql://DB_USER:DB_PASS@localhost/DB_NAME' --site-name=example
```

Check the Status Report to see if there are any problems with the
installation. See [Concept: Status Report](/link/776).
## Related concepts

* [Concept: Development Sites](/link/766)
* [Concept: Additional Tools](/link/699)
## Videos

[Running the Installer](https://www.youtube.com/watch?v=LGfRKKKDjv8)

## Additional resources

* [_Drupal.org_ community documentation page "Create a database"](https://www.drupal.org/docs/installing-drupal/step-3-create-a-database)
* [_Drupal.org_ community documentation section "Webhosting issues"](https://www.drupal.org/server-permissions)
