Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.

add-on registry tests last commit release

DDEV Claude Code

Overview

This DDEV add-on installs Claude Code inside the DDEV web container and automatically shares your host Claude configuration — including CLAUDE.md, settings.json, skills, hooks, and commands — with no additional setup required.

Once installed, running claude inside ddev ssh or ddev exec uses a writable copy of your host global configuration.

Requirements

Installation

ddev add-on get e0ipso/ddev-assistant-claude
ddev restart

After installation, commit the .ddev directory to version control.

What it does

Usage

# Open a shell with Claude Code available
ddev ssh
claude

# Run Claude Code non-interactively
ddev exec claude --version

Why not FreelyGive/ddev-claude-code?

FreelyGive/ddev-claude-code is another DDEV add-on for Claude Code. It’s a fine project — here’s why this one exists separately:

  This add-on FreelyGive/ddev-claude-code
Config approach Seeds a writable container ~/.claude/ from your host config on restart — zero setup if you already use Claude on the host Stores config per-project in .ddev/claude-code/ via symlinks; requires interactive setup on first run
Security The host seed is read-only, so the container cannot modify host config Symlinks allow the container to write to config files
Install method Official Anthropic installer (claude.ai/install.sh) npm install -g @anthropic-ai/claude-code
Install location Standalone binary at /usr/local/bin/claude, on $PATH for every shell, no per-start hooks npm global install runs as root during Docker build
Mount safety Pre-start hook ensures the host config directory exists before Docker mounts it No equivalent safeguard
Tests / CI BATS integration tests, GitHub Actions CI matrix (DDEV stable + HEAD), daily scheduled runs No tests or CI visible in the repository

This add-on does one thing: install Claude Code into your DDEV container and share your existing host configuration. Nothing else.

Credits

Contributed and maintained by @e0ipso

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.