setup
Configure, deploy, and tear down a Forkr environment| Subcommand | Description |
|---|---|
status | Print setup progress from .forkr/setup-state.json |
check | Check local commands and required setup config |
ui | Open a local setup status UI |
install | Check/install host dependencies for a deployment host |
bundle | Prepare a deploy bundle under .forkr/repo |
secrets | Create infra/secrets/<profile>.sops.yaml from configured input files and setup secrets |
deploy | Run deployment from the configured setup state |
destroy | Destroy deployment infrastructure for the configured setup state |
github-app | Create a deployment-scoped GitHub App via GitHub’s manifest flow |
agent | Print concise setup context for coding agents |
guide | Print agent-facing setup guidance |
status
Print setup progress from .forkr/setup-state.json| Argument / option | Description |
|---|---|
--json | Print the JSON response. |
check
Check local commands and required setup config| Argument / option | Description |
|---|---|
--json | Print the JSON response. |
ui
Open a local setup status UI| Argument / option | Description |
|---|---|
--port <PORT> | Defaults to 4874. |
--host <HOST> | Defaults to 127.0.0.1. |
--no-open | Print the URL instead of opening a browser. |
install
Check/install host dependencies for a deployment host| Argument / option | Description |
|---|---|
--dry-run | Print what would happen without running installers |
-y, --yes | Run supported installers without prompting |
bundle
Prepare a deploy bundle under .forkr/repo| Argument / option | Description |
|---|---|
-f, --force | Replace an existing deploy bundle |
--download | Download source bundle instead of copying the current repo |
--url <URL> | Source tarball URL. Defaults to FORKR_SETUP_BUNDLE_URL or the repository main tarball |
secrets
Create infra/secrets/<profile>.sops.yaml from configured input files and setup secrets| Argument / option | Description |
|---|---|
--dry-run | Print the target secrets path without writing |
-f, --force | Replace an existing secrets file |
deploy
Run deployment from the configured setup state| Argument / option | Description |
|---|---|
--dry-run | Print the deploy command without running it |
--skip-verify | Skip post-deploy verification |
destroy
Destroy deployment infrastructure for the configured setup state| Argument / option | Description |
|---|---|
--dry-run | Print the destroy command without running it |
-y, --yes | Destroy without prompting |
github-app
Create a deployment-scoped GitHub App via GitHub’s manifest flow| Argument / option | Description |
|---|---|
--name <NAME> | GitHub App name. Defaults to “Forkr <profile>“ |
--owner <OWNER> | GitHub organization login. Omit to choose personal or organization in the browser |
--port <PORT> | Local callback port for GitHub’s manifest redirect. Defaults to 4875. |
--no-open | Do not open the browser automatically; print the local HTML path instead |
--code <CODE> | Convert an already received GitHub App manifest code instead of starting a callback server |
--print-manifest | Print the manifest JSON without contacting GitHub |
--deploy | After storing GitHub App credentials, redeploy only forkr-api for this profile |
agent
Print concise setup context for coding agentsguide
Print agent-facing setup guidanceconfig
Read and write local setup config| Subcommand | Description |
|---|---|
path | Print the local setup config path |
profiles | List known setup profiles and the selected default |
list | List all stored setup config |
get | Read one setup config value |
set | Set one setup config value |
unset | Remove one setup config value |
path
Print the local setup config pathprofiles
List known setup profiles and the selected default| Argument / option | Description |
|---|---|
--json | Print the JSON response. |
list
List all stored setup config| Argument / option | Description |
|---|---|
--json | Print the JSON response. |
get
Read one setup config value| Argument / option | Description |
|---|---|
<KEY> | Config key. |
set
Set one setup config value| Argument / option | Description |
|---|---|
<KEY> | Config key. |
<VALUE> | Config value. |
unset
Remove one setup config value| Argument / option | Description |
|---|---|
<KEY> | Config key. |
health
Report API and cluster health| Argument / option | Description |
|---|---|
-j, --json | Print the JSON response. |
upgrade
Upgrade the 4kr CLI to the version served by the API| Argument / option | Description |
|---|---|
--dry-run | Print selected release artifact without installing |
project
Inspect project resolution| Subcommand | Description |
|---|---|
current | Show the current resolved project name |