Docs

zitadel pull

Rebuild your .zitadel/ files from a release.

Writes .zitadel/ from the revisions a released snapshot pins.

Usage

npx @zitadel/cli@latest pull [<target>] [flags]

Arguments

ArgumentDescription
<target>What to pull: 'latest' (the live release), a release id (rel_…), or a deployment id (dep_…).

Flags

FlagDescription
-e, --env <value>Environment to run against, e.g. production. Defaults to ZITADEL_ENV, then the hosting platform's build (VERCEL_ENV, or Netlify's CONTEXT), then development.
--env-file <value>Read ZITADEL_* values from this file ahead of the process environment. A relative path is read from the current directory, not from --cwd. Cannot be combined with --env.

It also takes the global flags.

Examples

npx @zitadel/cli@latest pull
npx @zitadel/cli@latest pull rel_01KX3RG8A7F0N9WD3P2E4YM5C1
npx @zitadel/cli@latest pull dep_01KX5N7C9D2E7F0N9WD3P2E4YM6

Was this helpful?