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.

How to get the Magento software

You are among the 240,000 merchants worldwide who put their trust in our eCommerce software. We’ve gathered some information to help you get started with Magento and with your Magento installation.

We have some resources here to help get you started using the eCommerce platform of the future—Magento 2.

It’s what we do.

How to get the Magento software

Check the availability of exciting new features and releases, and learn how you can obtain them, on our Magento product availability page.

Consult the following table for getting started with installing Magento Open Source or Magento Commerce.

User needs Description High-level installation and upgrade steps Get started link

Easy installation, command line, have your own server

Some technical expertise, command line access to the Magento server.

  1. Downloads a compressed file that contains the Magento software.
  2. Extracts it on the Magento server or asks a network administrator to do so.
  3. Installs the Magento software using the command line.
  4. Upgrades the Magento application and extensions using Composer and the command line.

Easy installation (own server)

Integrator, packager

Wants full control over all components installed, has access to the Magento server, highly technical, might repackage Magento Open Source with other components.

  1. Creates a Composer project that contains the list of components to use.
  2. Uses Composer to update package dependencies; uses composer create-project to get the Magento metapackage.
  3. Installs the Magento software using the command line.
  4. Upgrades the Magento application and extensions using the command line.

Get the metapackage

Contributing developer

Contributes to the Magento codebase, files bugs, and customizes the Magento software. Highly technical, has their own Magento development server, understands Composer and GitHub.

You cannot use Magento in a production environment.

You must upgrade using Composer and Git commands.

  1. Clones the Magento 2 GitHub repository.
  2. Uses Composer to update package dependencies.
  3. Installs the Magento software using command line.
  4. Upgrades the Magento software using Composer and Git commands.
  5. Customizes code under the app/code directory.

Clone the Magento repository

Useful information

At any time during your installation, take advantage of our installation quick reference (tutorial) or installation roadmap (reference). They’re really easy to use; the tutorial walks you through a sample installation. The roadmap provides links to common tasks throughout the guide.

Use the links on the left side of the page to navigate topics in each part of the installation.

Required server permissions

UNIX systems require root privileges to install and configure software like a web server, PHP, and so on. If you need to install this software, make sure you have root access.

You should not install the Magento software in the web server docroot as the root user because the web server might not be able to interact with those files.

You’ll also need root privileges to create the Magento file system owner and add that owner to the web server’s group. You’ll use the Magento file system owner to run any commands from the command line and to set up the Magento cron job, which schedules tasks for you.