monorail.dev — README.md (workspace)
📄README.md×
monorail.toml×
{}package.json×
📄changelog.md×
WELCOME×
monorail-dev docs README.md
1

# monorail.dev

2

Local-first dev environments that boot in <200ms. A drop-in replacement for the Docker Compose file you've been adding services to since 2019. Single binary. Zero daemon. npx monorail up and you're done.

3

Try it in your terminal, right now.

curl -fsSL monorail.dev/install | sh — works on macOS, Linux, & WSL.

4
cold start (avg)
187ms
42× faster than compose
stars · github
24,118
+1,402 last 30d
teams in production
8,440
incl. 14 of YC W24
npm downloads · weekly
412k
+38% MoM

5

## Why monorail?

6

Most teams ship a docker-compose.yml that's grown to 14 services, takes 4 to 11 minutes to boot, eats your laptop's battery, and breaks differently for every new hire.

7

monorail replaces it with a single 8MB binary that:

  • Boots a 14-service stack in under a second, on a fresh machine.
  • Reuses native processes where it can, falling back to micro-VMs only when isolation matters.
  • Hot-reloads service config without bringing the stack down — including database schemas.
  • Ships with a declarative monorail.toml that's diffable, reviewable & lints in CI.
  • Replays your team's stack from a single git commit. New hires onboard in 4 minutes.

8

## Install

9
~/projects/billing-api $● bash · monorail v0.18.2
$ curl -fsSL monorail.dev/install | sh
downloading monorail v0.18.2 (8.2MB) ............ done · 0.4s
verifying signature ............................. done
installing to /usr/local/bin/monorail ............ done
monorail ready · monorail --help to begin
$ monorail init
created monorail.toml (3 services detected from package.json)
$ monorail up
postgres-15 .................................... started · 42ms
redis-7 ........................................ started · 18ms
stripe-mock .................................... started · 31ms
billing-api .................................... started · 96ms
stack ready in 187ms · monorail logs to stream

10

## Benchmarks

11

Cold-start time of the same 14-service stack (Postgres, Redis, Kafka, NATS, Mailhog, Minio, Localstack, two Node APIs, three Go services, a Python worker, a Rust binary), on an M2 MacBook Pro, fresh boot, no cache.

12
Cold start · 14 services lower is better · n=200
monorail v0.18native + isolated
187 ms
orbstack 1.6vm-based
3.4 s
tilt 0.34k8s-shaped
8.1 s
docker compose 2.27full daemon
17.0 s
docker-desktop k8sfull cluster
4 m 12 s
13

We publish the full benchmark harness, the raw 200-run dataset, and the methodology in /bench. Run it on your own hardware:

14
# clone, run, compare against your existing setup
git clone https://github.com/monorail-dev/bench
cd bench && ./run.sh --vs docker-compose

15

## How it works

16

monorail reads a single monorail.toml and decides — per service — whether to run it as a native process, a Firecracker microVM, or in a shared lightweight sandbox. Most things run native. Only what needs isolation gets virtualised.

17
# monorail.toml — committed to your repo
[stack]
name = "billing-api"
profile = "dev"

[services.postgres]
image = "postgres:15-alpine"
isolation = "sandbox"      # shared sandbox · cheap
data = "./.monorail/pg"     # persistent across boots

[services.api]
cmd = "pnpm dev"
isolation = "native"        # native process · fastest
depends_on = ["postgres", "redis"]
port = 3000

[services.worker]
cmd = "go run ./cmd/worker"
isolation = "microvm"       # Firecracker · for messy deps

18

## Pricing

19

monorail is open-source & free forever for individuals. The team plan adds shared remote stacks, ephemeral PR environments, and audit logs.

Local · OSS

$0/forever
  • Unlimited local stacks
  • All isolation modes
  • Hot-reload & replay
  • Community support
↓ Install
★ most teams

Team

$18/dev/mo · annual
  • Everything in Local
  • Shared remote stacks
  • Ephemeral PR environments
  • SOC2 / SSO / audit logs
  • Slack support · 24h SLA
Start 30-day trial →

Enterprise

Talkto us
  • Self-hosted control plane
  • VPC peering & private registry
  • Dedicated support engineer
  • Custom SLA · 99.99%
Contact sales →

20

## Changelog · recent

21
versiondatewhat changedauthor
v0.18.22026-04-17Firecracker microVM cold-start down 38% on Apple Silicon. Fixes #2104, #2118.@nikola
v0.18.12026-04-04Hot-reload now preserves Postgres connections across config changes. opt-in.@dara
v0.18.02026-03-22Replay: bring up the exact stack a teammate had on a given commit. major.@cal + @mira
v0.17.42026-03-08Adds monorail doctor for diagnosing slow boots. 14 health checks.@nikola
v0.17.32026-02-22WSL2 cold start down 22%. Native systemd-less boot path.@dara

22

## Built in the open · join us

23
"We replaced a 412-line docker-compose.yml with a 38-line monorail.toml on a Friday afternoon. Boot time fell from 11 minutes to 0.2 seconds. The team has not stopped talking about it."
— Eilidh K., staff eng · @ stripe
24

monorail is built by a team of seven, fully in the open, on GitHub. We ship every other Friday. Issues are triaged daily. Every PR gets a human review.

25

Ready when you are.

Install in under five seconds. Free forever for solo work. No credit card. Easy to uninstall: monorail uninstall.

26

// © 2024–2026 monorail labs ltd · MIT licensed · made on a small team in Berlin & Lisbon · site by opusdevs

⎇ main ↻ 0 ↑ 2 ● 0 ⚠ 0 monorail v0.18.2 · ready
Ln 24, Col 12 UTF-8 LF Markdown ⚡ ready · 187ms