3.5. Setting Up an Environment with DDEV
Last updated on
14 April 2025
Set up a local development environment using DDEV to serve the application and Composer to download the required files.
Section 3.2, “Concept: Server Requirements” Section 3.6, “Using Composer to Download and Update Files”
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.
- 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.
- After installing DDEV, follow the Drupal Quickstart instructions to download the core software using Composer and install it in the DDEV environment.
-
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.
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:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion