Optimal development environment

A typical software development flow is as follows:

Local dev machine > QA/integration server > Preview server (optional) > Production server

Whether you are writing a new extension or contributing to the code base, the first step for any developer is setting up a development environment. This article will guide you in setting up and optimizing your local development machine.

Local development machine

Your local development machine is where you develop and deploy your code to test it against a running Adobe Commerce or Magento Open Source application. Its configuration should be as close to a production server as possible.

In your development machine, make sure you are running the Adobe Commerce or Magento Open Source application in developer mode. You can enable this mode with the command bin/magento deploy:mode:set developer.

Installation

The following is a list of the different ways you can install Adobe Commerce or Magento Open Source locally:

Optimal configuration

The following is a list of optimizations you can make on your local development machine