00 / Open source, rootless, no Docker

Lerd Local PHP development for Linux, macOS and Windows

Lerd gives each project a .test domain with HTTPS, its own PHP and Node versions, and the databases and services it needs, all running as rootless Podman containers. It's free and open source, with no Docker daemon.

$curl -fsSL https://lerd.sh/install.sh | bash
WindowsRead the docs →
7.4 – 8.6PHP versions, 8.6 in preview
40service presets
25framework definitions
4community plugins
Lerd web dashboard with sites, services and workersLerd web dashboard with sites, services and workers
01–08 / The lineup

What you get after one install.

01 / SitesSTABLE

Run lerd init, get a .test domain.

Lerd detects the framework, runs composer and npm, migrates the database, starts the workers and issues a trusted certificate. Nginx and PHP-FPM serve it at https://project.test.

LinuxmacOSWSL2
$ lerd init
Explore sites →
09 / AI agents

An MCP server for Claude Code, Cursor and Codex.

Lerd comes with an MCP server, so the assistant you code with can manage your environment as well: link sites, change PHP versions, start services and workers, run artisan and composer, and look at what a request did. One command registers it with every assistant on the list below.

$ lerd mcp:enable-global
01

Manages the environment

site · service · worker

Links sites, switches PHP and Node versions, starts databases and caches, and runs queue workers and the scheduler.

02

Runs commands

exec

artisan, composer and the project's own console commands, on the PHP version the site uses.

03

Reads each request

request lenses

N+1 and slow queries, exceptions, error logs and failed jobs for one request, looked up by its id.

04

Sees browser errors

diag browser_events

JavaScript errors and failed fetches from the site's pages, once browser logs are on for that site.

05

Works in worktrees

worktree add

Each worktree gets its own .test domain, its dependencies installed, and a database that is shared, cloned or empty.

06

Snapshots the database

db snapshot

Before a branch switch or a migration. Each snapshot records its branch, so the right one can be restored later.

Works with

Claude Code·Cursor·Codex CLI·Gemini CLI·Copilot·Junie·Antigravity·Windsurf·OpenCode

11 / Beyond PHP

Your Node, Python and Rails apps, on the same .test domains.

lerd init recognises the project, picks its dev server and a free port, and runs it on the host, so file watching and hot reload behave as usual. Lerd restarts it if it dies, keeps its logs and puts nginx with TLS in front. Databases and services go into its .env like on any PHP site. Non-PHP apps guide →

01

Node.js

npm run dev

Next, Nuxt, NestJS, Vite, Angular or plain Express, on the Node version the project pins.

02

Python

manage.py runserver

Django starts with runserver on its own. Flask, FastAPI and the rest run your command.

03

Rails & Rack

bin/rails server

Rails runs bin/rails server, a config.ru runs as Rack, and a mise or rbenv Ruby is found.

04

Go & Rust

go run . / cargo run

go run . and cargo run work out of the box, or Lerd runs your own file watcher in their place.

05

Containers

Containerfile.lerd

If you'd rather not install the runtime, Lerd writes a starter Containerfile and runs it rootless.

12 / Services

Databases, caches, search and mail.

01 MySQL:3306
02 PostgreSQL:5432
03 Redis:6379
04 Meilisearch:7700
05 S RustFS / S3:9000
06 Mailpit:1025
07 MongoDB:27017
08 Stripe Mock:12111
09 Elasticsearch:9200
++Yours, as YAML →
+18 in the store

MariaDB·Valkey·Memcached·Typesense·ClickHouse·OpenSearch·Solr·RabbitMQ·Kafka·Beanstalkd·Soketi·Mercure·Selenium·Gotenberg·LocalStack·SpamAssassin·pgvector·TimescaleDB

Admin UIs

phpMyAdmin·Adminer·pgAdmin·Mongo Express·RedisInsight·Elasticvue·Typesense Dashboard·OpenSearch Dashboards·Kafbat UI

13 / Community plugins

Community plugins for everything else.

A plugin adds what Lerd doesn't do yet: CLI commands, dashboard pages, site tabs, tools for AI assistants and hooks that run when something happens. Write one in any language that runs on your machine. Every plugin in the catalog is reviewed at the exact commit Lerd installs.

14 / Platforms

Linux, macOS and Windows.

01STABLE

Linux

Rootless Podman under systemd on Ubuntu, Fedora, Arch, Omarchy and any other systemd distro, with an Omarchy bar widget. No Docker daemon.

Linux install guide →
02STABLE

macOS

Local PHP development on a Mac without a paid tier, using the same dashboard, TUI and MCP server. PHP-FPM and workers can also run natively on the host, in beta.

macOS install guide →
03WSL2

Windows

Lerd runs inside WSL2 with the same CLI, dashboard, services and MCP server. The Windows installer sets it all up, and the WSL2 guide covers each step.

Windows install guide →
15 / Principles

How Lerd is built.

01

Rootless Podman

Containers run rootless under your own systemd user, with no daemon behind them.

02

Runs as you

Installs to ~/.local/bin. DNS, TLS and ports are set up without touching system files.

03

Detects your project

Frameworks are detected from the repo. An optional .lerd.yaml adds services or workers.

04

Updates within a day

Frameworks and services are versioned definitions that arrive without a release.

05

Open source, MIT

All of it is free and in one MIT-licensed binary, with no paid tier and no account.

06

Stays in your home

Everything lives under your home directory, so uninstalling leaves the machine as it was.

16 / Compare

Lerd next to Herd, Laragon, DDEV, Lando and Sail.

LerdLaravel HerdLaragonDDEVLandoSail
Runs on Linux✓✕✕✓✓✓
Runs on macOS✓✓✕✓✓✓
Runs on Windows✓✓✓✓✓✓
No Docker daemon✓✓✓✕✕✕
Rootless✓✓–––✕
Open source✓✕✕✓✓✓
Free, no paid tier✓––✓✓✓
Automatic .test + TLS✓✓✓✓–✕
Zero required config✓✓✓✕✕✕
Git worktrees as sites✓✓✕✕✕✕
Built-in Web UI✓✓✕–✕✕
Terminal dashboard✓✕✕✕✕✕
MCP server for AI agents✓✓✕✕✕✕
Profiler & debug window✓✓✕✕✕✕
Plugins✓✕✕✓✓✕

Coming from another tool? See Laravel Herd for Linux, Laragon for Linux and the full comparison.

17 / Pricing

Free for everyone, with support when you need it.

01MIT

Free forever

All of Lerd, for personal and commercial work. No paid tier, no account and no feature held back.

Install Lerd →
02OPTIONAL

Sponsor

Rely on Lerd? Sponsoring funds the time that keeps it maintained, adds new features and gets fixes out faster.

Become a sponsor →
03FOR TEAMS

Commercial support

Using Lerd across a team? Support covers onboarding, priority fixes and help with your stack.

Get in touch →
18 / FAQ

Questions people ask first.

Is Lerd free?

Yes. Lerd is MIT licensed and all of it is in the one binary, with no paid tier and no account.

Do I need Docker?

No. Lerd runs everything as rootless Podman containers under your own user, with no daemon. The installer offers to install Podman if it is missing.

Does it work on Windows?

Yes, inside WSL2. The Windows installer sets up WSL2, an Ubuntu distro with your Linux user, Lerd and the Lerd desktop app. Windows (WSL2) guide →

Do I have to change my project?

No. Lerd detects the framework from the repository and serves it as it is. An optional .lerd.yaml pins PHP and Node versions, services and workers.

Can it run next to a MySQL or PostgreSQL I already have?

Yes. When a database installed on the host already holds the default port, Lerd publishes its container on the next free port and writes that into the site .env.

Does Lerd work with Claude Code or Cursor?

Yes. Run lerd mcp:enable-global and Lerd's MCP server is registered with Claude Code, Cursor, Codex CLI, Gemini CLI, GitHub Copilot in VS Code, Junie, Antigravity, Windsurf and OpenCode. The assistant can then manage sites, services, workers and databases, and run artisan and composer. Set up MCP →

Can I extend it?

Yes, with community plugins that add commands, dashboard pages, AI tools and services. Each one is reviewed at the exact commit Lerd installs. Browse community plugins →

How do I remove it?

Run lerd uninstall. It stops the containers and removes the units, the binary and the network, then asks whether to remove your data and the trusted certificate as well. What uninstall removes →

19 / Get started

Install, then run lerd init.

The script installs Lerd and sets up DNS and certificates. Then cd into a project, run lerd init and open its .test address.

$curl -fsSL https://lerd.sh/install.sh | bash
WindowsStar on GitHub1.5k