@@ -28,13 +28,24 @@ npm run dev
2828
2929` start ` runs a Docker-backed local Zitadel server and stores runtime data
3030under ` .zitadel/local/ ` . It uses ` ghcr.io/zitadel/nextgen:latest ` unless
31- overridden with ` --image ` or ` ZITADEL_LOCAL_IMAGE ` . ` setup --server local `
32- creates a project on that local server, scaffolds ` app/login ` , ` app/register ` , and
33- ` middleware.ts ` , writes ` .env.local ` and ` .zitadel/ ` , and installs dependencies
34- with the detected package manager. Pass ` --skip-install ` to install them
35- yourself. The project's default user schema and login flow are provisioned
36- server-side at creation time, so the CLI does not scaffold or upload them.
37- Open ` http://localhost:3000/login ` to see the login page.
31+ overridden with ` --image ` , ` --preview-manifest ` , or ` ZITADEL_LOCAL_IMAGE ` .
32+ ` setup --server local ` creates a project on that local server, scaffolds
33+ ` app/login ` , ` app/register ` , and ` middleware.ts ` , writes ` .env.local ` and
34+ ` .zitadel/ ` , and installs dependencies with the detected package manager. Pass
35+ ` --skip-install ` to install them yourself. The project's default user schema
36+ and login flow are provisioned server-side at creation time, so the CLI does
37+ not scaffold or upload them. Open ` http://localhost:3000/login ` to see the
38+ login page.
39+
40+ For a ` zitadel-preview ` bundle, use the exact manifest URL from the GitHub
41+ Release so the CLI starts the tested server image and scaffolds the tested SDK
42+ versions:
43+
44+ ``` sh
45+ npx @zitadel/cli@< exact-version> doctor --preview-manifest < manifest-url>
46+ npx @zitadel/cli@< exact-version> start --preview-manifest < manifest-url>
47+ npx @zitadel/cli@< exact-version> setup --framework next --server local --preview-manifest < manifest-url>
48+ ```
3849
3950The default project flow supports password registration/login, passkey
4051registration/login, and optional passkey setup after password registration.
@@ -138,7 +149,7 @@ Verify local runtime and project state.
138149```
139150USAGE
140151 $ zitadel doctor [--json] [-c <value>] [-s <value>] [-n] [-f] [--dry-run] [--verbose] [--debug] [--fix]
141- [--image <value>] [--port <value>]
152+ [--image <value>] [--port <value>] [--preview-manifest <value>]
142153
143154FLAGS
144155 -c, --cwd=<value> Project directory to operate on.
@@ -150,6 +161,8 @@ FLAGS
150161 --fix Re-apply missing managed files.
151162 --image=<value> Container image to check.
152163 --port=<value> [default: 8080] Local HTTP port.
164+ --preview-manifest=<value>
165+ Path or URL to a zitadel-preview manifest.
153166 --verbose Verbose logging.
154167
155168GLOBAL FLAGS
@@ -280,7 +293,7 @@ Create a Zitadel project and scaffold local auth.
280293```
281294USAGE
282295 $ zitadel setup [--json] [-c <value>] [-s <value>] [-n] [-f] [--dry-run] [--verbose] [--debug]
283- [--framework next] [--renderer react|web-component] [--skip-install]
296+ [--framework next] [--renderer react|web-component] [--skip-install] [--preview-manifest <value>]
284297
285298FLAGS
286299 -c, --cwd=<value> Project directory to operate on.
@@ -291,6 +304,8 @@ FLAGS
291304 --dry-run Preview without mutating files or the platform.
292305 --framework=<option> Framework to target.
293306 <options: next>
307+ --preview-manifest=<value>
308+ Path or URL to a zitadel-preview manifest.
294309 --renderer=<option> Renderer (default: react).
295310 <options: react|web-component>
296311 --skip-install Do not install dependencies after setup updates package.json.
@@ -313,7 +328,7 @@ Start a local Zitadel server.
313328```
314329USAGE
315330 $ zitadel start [--json] [-c <value>] [-s <value>] [-n] [-f] [--dry-run] [--verbose] [--debug] [--image
316- <value>] [--port <value>]
331+ <value>] [--port <value>] [--preview-manifest <value>]
317332
318333FLAGS
319334 -c, --cwd=<value> Project directory to operate on.
@@ -324,6 +339,8 @@ FLAGS
324339 --dry-run Preview without mutating files or the platform.
325340 --image=<value> Container image to run.
326341 --port=<value> [default: 8080] Local HTTP port.
342+ --preview-manifest=<value>
343+ Path or URL to a zitadel-preview manifest.
327344 --verbose Verbose logging.
328345
329346GLOBAL FLAGS
0 commit comments