Installing Drupal with DDEV in WSL2 on Windows

This guide will show you how to set up Drupal in DDEV, the recommended Drupal development environment, on Windows.

As recommended, it is installed using the open-source Docker Engine in the Windows Subsystem for Linux (WSL2), rather than natively on Windows with Docker Desktop.

This guide also includes tips to create a nice, modern environment for Drupal development. The tips are written for a site builder using Windows, with no Linux experience and limited development experience.

Overview, system requirements & virtualization

Overview and system requirements for setting up a local development environment running Drupal in DDEV on WSL2.

Installing WSL2 & Ubuntu

Installing the Windows Subsystem for Linux (WSL2) with Ubuntu in preparation for installing DDEV & Drupal.

Installing Docker, DDEV & Drupal in WSL2

Tutorial to install Docker, DDEV & Drupal in the Windows Subsystem for Linux (WSL2).

Integrating Visual Studio Code with WSL2, DDEV & Drupal

Integrating Visual Studio Code (VS Code) with the Windows Subsystem for Linux (WSL2), DDEV & Drupal.

Drupal best practice settings

A couple of Drupal best practice settings to configure after installing Drupal in DDEV on WSL2.

Guide maintainers

nick hope's picture