Documentation menu
Documentation

CLI command reference

The Ayjnt CLI discovers the file tree, generates runtime wiring, and runs the same harness locally or in the cloud.

Commands

CommandPurpose
newScaffold a project with a browser UI by default
devGenerate files, watch changes, run Wrangler dev
runBoot Ayjnt’s Bun + workerd local runtime and cli.ts
buildGenerate .ayjnt without starting or deploying
compilePackage the app, Bun, and workerd into an executable
migratePreview the Durable Object migration diff
deployRun safety checks, build, and deploy with Wrangler

Shared conventions

dev, build, migrate, and deploy accept --cwd <path>. Unknown flags for Wrangler-backed commands are forwarded, so ayjnt dev --port 8788 works.

Set AYJNT_DEBUG=1 to include stack traces when a command fails.