You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`clerk init`| Scaffold Clerk into a project, or emit an agent handoff with `--prompt`. |`--framework`, `--pm`, `--prompt`, `--starter`, `-y`, `--no-skills`|
118
-
|`clerk auth login`| OAuth browser login (stores token). Agent mode: no-op if already logged in, else prints guidance. | — |
|`clerk config put`| Full replacement (PUT) of instance config. Pass `--destructive` to actually delete removed sub-resources rather than resetting them to defaults. |`--file`, `--json`, `--dry-run`, `--yes`, `--destructive`|
128
-
|`clerk apps list`| List Clerk applications. |`--json`|
129
-
|`clerk apps create <name>`| Create a new Clerk application. |`--json`|
130
-
|`clerk open [subpath]`| Open the linked app's dashboard in a browser. Agent mode: prints a JSON descriptor instead of opening. |`--print`|
131
-
|`clerk doctor`| Health check. |`--json`, `--spotlight`, `--verbose`, `--fix`|
132
-
|`clerk api [path]`| Authenticated HTTP to Backend/Platform API. |`-X`, `-d`, `--file`, `--dry-run`, `--yes`, `--include`, `--app`, `--instance`, `--platform`|
133
-
|`clerk api ls [filter]`| Discover endpoints from the bundled OpenAPI catalog. |`--platform`|
|`clerk init`| Scaffold Clerk into a project, or emit an agent handoff with `--prompt`. |`--framework`, `--pm`, `--name` (with `--starter`), `--prompt`, `--starter`, `-y`, `--no-skills`|
118
+
|`clerk auth login`| OAuth browser login (stores token). Agent mode: no-op if already logged in, else prints guidance. | — |
|`clerk config put`| Full replacement (PUT) of instance config. Pass `--destructive` to actually delete removed sub-resources rather than resetting them to defaults. |`--file`, `--json`, `--dry-run`, `--yes`, `--destructive`|
128
+
|`clerk apps list`| List Clerk applications. |`--json`|
129
+
|`clerk apps create <name>`| Create a new Clerk application. |`--json`|
130
+
|`clerk open [subpath]`| Open the linked app's dashboard in a browser. Agent mode: prints a JSON descriptor instead of opening. |`--print`|
131
+
|`clerk doctor`| Health check. |`--json`, `--spotlight`, `--verbose`, `--fix`|
132
+
|`clerk api [path]`| Authenticated HTTP to Backend/Platform API. |`-X`, `-d`, `--file`, `--dry-run`, `--yes`, `--include`, `--app`, `--secret-key`, `--instance`, `--platform`|
133
+
|`clerk api ls [filter]`| Discover endpoints from the bundled OpenAPI catalog. |`--platform`|
|`clerk skill install`| Reinstall the bundled `clerk-cli` skill. Run after upgrading the CLI so the skill matches the new binary. |`-y`, `--pm`|
136
136
137
137
**`clerk <command> --help` is the source of truth for flags.** This table is a hint, not a spec. Before running an unfamiliar command or flag combination, run `clerk <command> --help` once per session. Every command also defines `setExamples([...])` in source, which `--help` renders as a copy-pasteable Examples block, so you rarely need to guess syntax.
0 commit comments