This is a beta release of documentation for Magento 2.4, published for previewing soon-to-be-released functionality. Content in this version is subject to change. Links to the v2.4 code base may not properly resolve until the code is officially released.
You must install Elasticsearch before installing Magento Commerce or Magento Open Source 2.4.0. See Elasticsearch for details.

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

Installation

Now that you’ve installed prerequisites and taken the first steps (merchant, system integrator, or developer), you’re ready to install the Magento software. You must use the command line to install Magento.

Already installed the Magento software?

You might want to manage Magento components or to upgrade. See the Upgrade Guide.