Watch: DDEV From Scratch with macOS
Using Windows or Linux? See DDEV on Windows in 10 Minutes, DDEV on WSL2 from Scratch, or DDEV on Linux in 10 Minutes.
DDEV is a local development environment based on Docker containers that gets you up and working on your project fast. When you’re ready for additional configuration and customization, you won’t be starting from scratch and can lean on the expertise of the DDEV community.
In this screencast we walk through installing Homebrew, setting up OrbStack as a Docker provider, installing DDEV, and getting started with a basic project — all on a brand-new MacBook Neo with only 8GB of RAM. We use a Composer-managed Drupal 11 project as an example, and also cover setting up Xdebug with both PhpStorm and VS Code. The presentation slides are also available.
After watching this tutorial, you’ll be able to run websites on your computer with minimal configuration and have multiple sites with different configurations available locally, all because Docker does the heavy lifting while DDEV does the simplifying. Whether you’re a solo engineer or a member of a team, DDEV will help you be more efficient.
This screencast references the regular DDEV documentation:
- DDEV Installation
- Using the CLI
- Drupal 11 Quickstart
- Step Debugging with Xdebug
- Support: DDEV Discord, Drupal Slack
#ddevchannel: See Support docs - DDEV Project Repository and issue queue
Here’s the video table of contents (opens in YouTube):
- What is DDEV (1:00)
- Install Homebrew (3:01)
- Install Docker provider (OrbStack) (5:07)
- Install DDEV (7:54)
- Create a trivial “junk” project (9:03)
- Create a Drupal 11 project (11:42)
- Learn a few DDEV commands (15:35)
- Xdebug with PhpStorm (18:51)
- Xdebug with VS Code (24:40)
- DDEV Resources (30:40)