3.5. Setting Up an Environment with DDEV

Last updated on
14 April 2025

Goal

Set up a local development environment using DDEV to serve the application and Composer to download the required files.

Why use DDEV?

DDEV is a local development environment for PHP applications built on Docker. It includes all the necessary components to run the core software, and is used by many developers in the Drupal community.

Steps

  1. Follow the official DDEV installation instructions to install DDEV on your local machine. DDEV is available for Windows, Mac, and Linux. The installation process is different for each operating system, so be sure to follow the instructions for your OS.
  2. After installing DDEV, follow the Drupal Quickstart instructions to download the core software using Composer and install it in the DDEV environment.
  3. Run the command ddev launch from the directory created in the previous step to open the site in your web browser and confirm the environment is working correctly.

Additional resources

Attributions

Written and edited by Joe Shindelar at Drupalize.Me.

 

This page is generated from AsciiDoc source from the User Guide. To propose a change, edit the source and attach the file to a new issue in the User Guide project. PDF and e-book formats are available on the User Guide project page.

Source file: install-ddev.asciidoc

Help improve this page

Page status: Not set

You can: