CLI Reference

CLI reference

Everything the web app does, from a terminal or a script. Every command is a thin wrapper over the same API, authenticated with a personal API key from Settings → API keys. Keys act as you: same projects, same credits.

Install and sign in

bunx @buildify/cli login bfk_your_key
buildify create "A landing page for a bakery" --template vite-react

create, continue and publish stream the run trace until it finishes; add --no-watch to return the run id immediately and follow it later with watch.

Build

buildify create "<prompt>" [--template vite-react|nextjs|vite-three] [--model <id>] [--name <n>] [--reference <url>] [--no-watch]

Start a project and stream the build trace. --reference follows a site's structure and tone, never its content.

buildify continue <projectId> "<prompt>" [--model <id>] [--no-watch]

Send a follow-up to an existing project.

buildify watch <runId>

Stream the trace of a running or finished run.

buildify publish <projectId>

Deploy the current version to the production URL.

buildify retry <runId>

Run a failed run again from its base version.

buildify report <runId> "<what went wrong>"

File a credit claim for a bad run.

Projects

buildify projects

Your projects first, then shared and team projects with role and owner.

buildify duplicate <projectId>

Copy a project into a new one.

buildify download <projectId> [--out <file.zip>]

Zip of the current version.

buildify folders

List folders.

buildify assets <projectId>

Images attached to a project.

People

buildify members <projectId>

Collaborators on a project.

buildify invite <projectId> <email> [--role editor|viewer]

Add a collaborator; they join when they sign up.

buildify uninvite <projectId> <userId>

Remove a collaborator.

buildify team

Workspace members and pending invites.

buildify team-invite <email> [--role editor|viewer]

Invite someone to every project in your workspace.

buildify team-remove <userId|email>

Remove a member or revoke an invite.

buildify team-leave <workspaceId>

Leave a team you were added to.

Audits

buildify audit <url> [--kind seo|a11y] [--project <id>] [--no-watch]

Run an SEO or accessibility audit and stream it.

buildify audits

Past audits.

buildify audit-fix <auditId> [--model <id>]

Start a build that fixes an audit's findings.

Account

buildify login <bfk_…> [--url <api url>]

Store the key in ~/.buildify/config.json (mode 600).

buildify models [--free]

Models you can build with and their credit prices.

buildify credits

Balance by bucket.

buildify billing

Plan, renewal date and recent payments.

Scripts and CI

Set BUILDIFY_API_KEY instead of running login on a machine you do not own. Exit codes are non-zero on a failed run, so a pipeline can gate on buildify continue … && buildify publish …. The same key works for the MCP server and the HTTP API; see the API reference.