Installation flow diagram

The following diagram provides a high-level overview of installing the Magento software:

How Magento installation works

The diagram shows the following:

  1. Set up your server environment.

    Install the prerequisite software, including PHP, Apache, and MySQL. Consult the system requirements for specific information.

  2. Get the Magento software.

    • If you are more technical and you are familiar with Composer, get a Magento Open Source or Magento Commerce metapackage.

    • If you want to contribute to the Magento Open Source codebase or customize the Magento application, clone the Magento 2 GitHub repository. (This method requires familiarity with both GitHub and Composer.)

    To be able to use the Web Setup Wizard to install or upgrade the Magento software, or to manage extensions you get from Magento Marketplace, you must either get a compressed archive or a Composer metapackage. If you clone the GitHub repository, you cannot use the Web Setup Wizard to upgrade the Magento software and extensions. You must upgrade using Composer and Git commands.

  3. Install the Magento software using either the Web Setup Wizard or command line.

    The Web Setup Wizard is being deprecated in Magento 2.3.6 and will be removed in Magento 2.4.0. After it is removed, you must use the command line to install or upgrade Magento.

    For simplicity, only the Web Setup Wizard is shown in the diagram.

    At each step, the Web Setup Wizard validates the information you entered. As shown in the preceding diagram, if validation fails, you must manually fix the issues before you proceed.

    If the step fails because prerequisite software isn’t set up correctly, review our Prerequisites.

  4. Verify the installation by viewing your storefront and the Magento Admin.