Introduction
The Corral macOS app showing a project's Overview tab. The interactive callouts below name each region.
Corral is a native desktop application and CLI that provides a complete local development environment for JavaScript and TypeScript projects. It started with first-class Cloudflare Workers support and now works with Next.js, Nuxt, Remix, Astro, SvelteKit, Vite, and any Node.js project with a dev script. Think of it as Laravel Herd for the JS ecosystem — register your projects, and Corral handles the rest.
What Corral Does
-
Manages your dev servers. Start, stop, and monitor dev servers for all your projects from a single interface. Corral detects your framework, runs the right command, and handles port allocation, crash recovery, and process lifecycle automatically.
-
Routes custom local domains. Access your projects at
my-app.testinstead oflocalhost:8787. Corral sets up DNS resolution and a reverse proxy with automatic HTTPS — no manual/etc/hostsediting required. -
Handles Node.js versions. Install, switch, and pin Node.js versions per project. Corral respects
.node-versionand.nvmrcfiles, or you can set versions through its own settings. -
Inspects local data PRO. Browse your D1 databases, KV namespaces, R2 buckets, Durable Objects, Workflows, and Secrets Store directly — no SQL clients or extra tools needed.
-
Runs local services PRO. One-click install for PostgreSQL, MariaDB, Valkey, Mailpit, OpenSearch, Meilisearch, MinIO, and Typesense — native binaries, no Docker.
-
Captures browser & network activity PRO. Record every HTTP request, console message, and page network call — searchable, persistent across reloads, in a native Network tab.
-
Shares projects to the internet. Expose any local project via a public HTTPS URL with one command. No account needed — powered by Cloudflare Quick Tunnels.
-
Works your way. Use the native macOS app with its menu bar integration and GUI, or drive everything from the terminal with the
corralCLI. Both interfaces share the same engine.
How It Works
When you start a project, Corral orchestrates several services behind the scenes:
my-app.test
→ macOS resolver sends DNS to dnsmasq (127.0.0.1:5353)
→ dnsmasq resolves *.test → 127.0.0.1
→ Caddy on port 443 reads the Host header, terminates HTTPS
→ Routes to the dev server bound to its allocated port (e.g., localhost:3000)
dnsmasq handles DNS resolution for your chosen TLD (.test by default). Caddy acts as a reverse proxy with automatic HTTPS using a locally-trusted certificate authority. For Cloudflare projects, Corral vendors its own copy of Wrangler so wrangler dev runs without a global install. Node.js versions are also managed by Corral — you don’t need nvm, fnm, or asdf.
Two Interfaces, One Engine
Corral uses a background daemon to manage all running processes. Both the macOS app and the CLI connect to this daemon, which means they always share the same state — projects started in the app are visible to the CLI and vice versa. The app is how you install Corral: it sets up the privileged helper and bundles the corral CLI. Once that’s done, the two interfaces are interchangeable — many people live in the CLI and never open the app’s window.
macOS App — Lives in your menu bar. Start and stop projects with a click, browse data visually, and manage Node.js versions through a native GUI. The daemon starts automatically when the app launches. See the macOS App overview for details.
CLI — Full control from your terminal. The corral binary ships inside the app bundle and is symlinked onto your PATH. Every feature available in the GUI is also available via the corral command, with JSON output for scripting. The daemon starts automatically on the first command. See the CLI reference for all commands.
Free and Pro
Corral has a single Pro tier ($49/year) that unlocks data inspection, managed services, system-wide terminal shims, the universal package manager, and browser & network capture. Activation happens in the Subscription room inside the app — paste the license key you got after purchase from corral.sh/pro and Pro features unlock immediately.
Next Steps
- Install Corral to get started
- Quick Start to register and run your first project in under a minute