Magento 2.0.18 is the final 2.0.x release. After March 2018, Magento 2.0.x will no longer receive security patches, quality fixes, or documentation updates.
To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.

Install the Magento software

Totally lost? Need a helping hand? Try our installation quick reference (tutorial) or installation roadmap (reference).

Before you start your installation

Before you begin, make sure that:

  1. Your system meets the requirements discussed in Magento system requirements.
  2. You completed all prerequisite tasks discussed in Prerequisites.
  3. You took your first installation steps as discussed in Your install or upgrade path.
  4. After you log in to the Magento server, switch to the Magento file system owner.
  5. Review the information discussed in Get started with the command-line installation.

You must install Magento from its bin subdirectory.

The installer is designed to be run multiple times if necessary so you can:

  • Provide different values

    For example, after you configure your web server for Secure Sockets Layer (SSL), you can run the installer to set SSL options.

  • Correct mistakes in previous installations
  • Install Magento in a different database instance
  • By default, the installer doesn't overwrite the Magento database if you install the Magento software in the same database instance. You can use the optional cleanup-database parameter to change this behavior.
  • </div> See also Update, reinstall, uninstall.

    Completely secure installation

    To use Secure Sockets Layer (SSL), also referred to as HTTPS, for both the Magento Admin and the storefront, you must set all of the following parameters:

    • --use-secure: Set to 1
    • --base-url-secure: Set to a secure URL (that is, starting with https://)
    • --use-secure-admin Set to 1

    More details about these parameters can be found later in this topic.

    ## Installer help commands {#instgde-cli-help-cmds} You can run the following commands to find values for some required arguments:
    Installer argument Command
    Language magento info:language:list
    Currency magento info:currency:list
    Time zone php magento info:timezone:list

    If an error displays when you run these commands, make sure you updated installation dependencies as discussed in Update installation dependencies.

    Install the Magento software from the command line

    The format of the install command follows: magento setup:install --