Isolated dev environments for your coding agents
curl -fsSL https://parcela.run/install.sh | shVideo demo coming soon
Works with any coding agent that runs shell commands, and any app that starts with a command
- Claude Code
- Codex
- Cursor
- Copilot
- Gemini CLI
- OpenCode
- Rails
- Django
- Next.js
- Vite
- Phoenix
- Laravel
Each worktree runs its own copy of the app
Checkouts of the same app usually compete for one port, so only one agent at a time can run its changes. Parcela gives each checkout its own ports and URL, so every agent can open its own app and check its work.
- receipts $ bin/dev Listening on localhost:3000
- settle-up $ bin/dev Port 3000 is already in use
- group-stats $ bin/dev Port 3000 is already in use
Without Parcela
The first bin/dev takes port 3000. The others fail until it stops.
- receipts $ parcela up https://receipts-myapp.localhost
- settle-up $ parcela up https://settle-up-myapp.localhost
- group-stats $ parcela up https://group-stats-myapp.localhost
With Parcela
parcela up picks free ports for each worktree and gives it an HTTPS name.
Set up your project once
Parcela starts the commands you list in parcela.yaml. Your setup command
installs dependencies and prepares data, as it does today.
-
01
Describe your app
Run
parcela init, then review the generatedparcela.yaml.parcela.yamlproject: myapp services: web: command: bin/rails server -p $PORT http: healthcheck: /up css: command: bin/rails tailwindcss:watch[always] hooks: setup: command: bin/setup --skip-server
-
02
Start the app
parcela upruns setup on the first start, then starts each service and waits for its healthcheck.~/myapp$ parcela up --detach ✓ myapp is running at https://myapp.localhost parcela logs show service output parcela status check health parcela down stop it
-
03
Open its URL
The project name becomes the URL. Other worktrees get their own, like
receipts-myapp.localhost. With--lan, your phone opens it atmyapp.local.

Share with other devices
Each run stays on this machine unless you pass --lan or --tailscale,
or set the matching environment variable.

Your machine
parcela up runs the environment here.

Your phone
A .local name on the same network.
parcela up --lan

Another computer
Served with tailscale serve to your tailnet.
parcela up --tailscale
-
Named HTTPS
Caddy serves each environment at a
.localhostname with a local certificate, on a port that needs no sudo. -
Free ports
Each HTTP service gets its own
$PORT. Databases and other tools can ask for named ports. Running environments never share a port. -
Readiness checks
parcela upwaits until every healthcheck returns 2xx before it routes the URLs. -
Logs per process
parcela logs -ffollows every service, worker, and hook, with the process name on each line. -
Data snapshots
Snapshot the data of a stopped environment, then restore it into a new worktree to reproduce a test case.
-
Dashboard
parcela uiprints the address of a page that lists every environment, with start, stop, restart, and logs. -
Debug menu
The proxy adds a small badge to your app's pages on
.localhost, with this environment's state and logs. Your code doesn't change. -
Agent skill
parcela --skillprints the instructions a coding agent needs to run Parcela.
Does it work with my project?
Parcela runs the commands you put in parcela.yaml. Use it with native web servers, workers, and setup scripts. It supports macOS and Linux, with jj workspaces or Git worktrees.
How separate are the environments?
Each checkout gets its own processes, ports, and URLs. Your project configuration decides how databases, queues, and uploads are separated. Services run as native processes on your machine.
How does local HTTPS work?
Caddy handles routing and TLS. The default address uses .localhost on port 1443. Your first terminal up offers to trust the local CA behind the system password prompt. Scripts and agents never change system trust.
What happens when I stop an environment?
parcela down stops the environment's processes and removes its routes. Source and data are retained. LAN and Tailscale sharing stop with that run.
Install Parcela
Install the CLI, then run parcela init in your project.
Experimental · macOS & Linux · AGPL-3.0-only
curl -fsSL https://parcela.run/install.sh | sh