Skip to content

aerostack dev

Start a local development server with full edge fidelity — D1, KV, Queues, AI bindings, and Durable Objects all run locally.

Terminal window
aerostack dev [flags]
FlagDefaultDescription
-p, --port8788Port for the local dev server
--remotefalseConnect to your remote staging/production environment
Terminal window
# Start dev server on default port 8788
aerostack dev
# Custom port
aerostack dev --port 4000
# Connect to remote environment (real data, real KV/D1)
aerostack dev --remote
  1. Parses your aerostack.toml
  2. Generates .aerostack/wrangler.toml with all bindings resolved
  3. Starts a local Miniflare server with D1, KV, Queues, and AI bindings
  4. Watches for file changes and hot-reloads

For multi-service projects (multiple entries in aerostack.toml), each service starts on its own port.

  • Node.js 18+
  • aerostack.toml in the current directory