
CoDuck CLI & API
Everything you can do in the CoDuck app, you can do from the command line — create, generate, deploy, and manage the whole stack. Built JSON-first, so your scripts and AI agents can drive it directly.
$npm i -g @coduckai/cliRead the docs →Full coverage
One command surface over the entire platform — projects, files, generation, deploys, database, domains, env, email, storage, payments, and backups. No corner of CoDuck is GUI-only.
Create & scaffold projects
coduck createPush & pull your source
coduck pushBuild & ship to prod
coduck deployTalk to the AI agent
coduck chat "…"Read your Postgres schema
coduck db schemaManage env variables
coduck env setAdd custom domains
coduck domains addSend transactional email
coduck email sendUpload & serve files
coduck storage uploadWire up Stripe payments
coduck stripe statusTail container logs
coduck logs --followSnapshot & restore backups
coduck backups createBuilt for agents
The CLI detects when it’s not talking to a human and switches to clean, parseable output. Point your own agent at it and let it build, deploy, and debug a CoDuck project on your behalf.
coduck --help --json → a full spec your agent can read
Quickstart
npm install -g @coduckai/cliNode 20+. macOS, Linux, or Windows.
coduck loginBrowser opens, you click Approve. No password ever touches your terminal.
coduck create-existingIn your project folder — writes a coduck.json and you're live.

Install once. The CLI is the same binary humans and agents both drive.
$npm i -g @coduckai/cliCreate an account →