CLI
Command groups for setup, local runtime management, and repo configuration.
The @zitadel/cli package scaffolds auth into Next.js, Nuxt, React, Vue, and Angular apps.
Golden path
npx @zitadel/cli@alpha doctor
npx @zitadel/cli@alpha start
npx @zitadel/cli@alpha setup --server local
npm run devFor automation:
npx @zitadel/cli@alpha setup --framework next --server local --non-interactive --jsonAgent Skills
The CLI ships an Agent Skill so a coding agent can drive it with always-current guidance. Install it into any skills-compatible agent (Claude Code, Cursor, Copilot, Codex, and more) from the repo:
npx skills add zitadel/nextgen --full-depth--full-depth installs the whole set — the zitadel router skill, the CLI
skill, and the per-framework SDK and component skills. Without it, only the
top-level router skill is installed. The CLI skill also ships inside the
@zitadel/cli package.
Command groups
doctorchecks prerequisites and generated app state.start,stop,logs, andresetmanage local runtime state.consoleprints a one-time link that signs you in to the local management console as the local adminstartcreated.setupcreates a Zitadel project and scaffolds app auth.claimattaches a project to your team. On the default local runtime, setup already did that, soclaimreports the project as already owned;claimis the fallback when that step failed.planandapplyvalidate and sync repo configuration.statussummarizes local runtime and project state.ejectoruninstallremoves managed files and local Zitadel state.