Commands
Every kvbox command, its arguments and options, generated from the CLI itself.
Global options, accepted before any command:
| Option | What it does |
|---|---|
--local | use this machine's kvbox-server over its socket, ignoring kvbox login and KVBOX_TOKEN |
--org <slug> | the org: where kvbox new creates, and which box a name means when it is not one of yours; before the command here, or after it |
kvbox bucket
object storage: S3 buckets for your files, and the access keys your apps use
kvbox bucketkvbox bucket backup
back up your object storage to the kvbox cloud, list backups, restore or remove one
kvbox bucket backupkvbox bucket backup create
back up your object storage (every bucket and key) to the kvbox cloud, encrypted
kvbox bucket backup create [options]| Option | What it does |
|---|---|
--wait | stay until the backup is ready (by default it runs in the background) |
--json | print the backup as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket backup ls
list the backups of your object storage
kvbox bucket backup ls [options]| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket backup restore
put a backup back: every bucket and key becomes the backup's (the storage restarts)
kvbox bucket backup restore <id> [options]| Argument | Meaning |
|---|---|
<id> | the backup's id (kvbox bucket backup ls) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--json | print what changed as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket backup rm
remove a backup of your object storage for good
kvbox bucket backup rm <id> [options]| Argument | Meaning |
|---|---|
<id> | the backup's id (kvbox bucket backup ls) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket backup schedule
show or switch the nightly backup of your object storage (daily, UTC; off until you turn it on)
kvbox bucket backup schedule [options]| Option | What it does |
|---|---|
--at <hour> | back it up daily at this hour, 0-23 UTC (turns it on) |
--off | stop backing it up on its own |
--on | back it up on its own, at the hour it has |
--json | print the schedule as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket create
make a bucket (the first one also makes your object storage)
kvbox bucket create <name> [options]| Argument | Meaning |
|---|---|
<name> | bucket name: 3-63 lowercase letters, digits and '-' |
| Option | What it does |
|---|---|
--size <GB> | how much your object storage may hold, when this is your first bucket (default 10) |
--region <region> | the S3 region of your object storage (ro-west-1, de-center-1), when this is your first bucket |
--near <box> | put the object storage on the host of this box, when this is your first bucket |
--location <location> | put the object storage on a host in this country or region, e.g. DE, romania or eu, when this is your first bucket (default: kvbox location) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket grow
make your object storage larger (all your buckets share it; it restarts once)
kvbox bucket grow <GB> [options]| Argument | Meaning |
|---|---|
<GB> | the new size in GB, larger than what it has |
| Option | What it does |
|---|---|
--json | print the object storage as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket info
one bucket: its address, what it holds, how full your object storage is
kvbox bucket info <name> [options]| Argument | Meaning |
|---|---|
<name> | bucket name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket key
access keys of a bucket: what your app signs in with
kvbox bucket keykvbox bucket key create
make an access key for a bucket (the secret is shown once)
kvbox bucket key create <bucket> [options]| Argument | Meaning |
|---|---|
<bucket> | bucket name |
| Option | What it does |
|---|---|
--name <label> | what to call the key, to tell it from the others |
--read-only | the key reads the bucket but cannot write to it |
--json | print as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket key ls
list a bucket's access keys (never their secrets)
kvbox bucket key ls <bucket> [options]| Argument | Meaning |
|---|---|
<bucket> | bucket name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket key rm
delete an access key: whatever uses it stops reaching the bucket
kvbox bucket key rm <bucket> <access-key> [options]| Argument | Meaning |
|---|---|
<bucket> | bucket name |
<access-key> | the access key id (kvbox bucket key ls) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket ls
list buckets, and the object storage they are in
kvbox bucket ls [options]| Option | What it does |
|---|---|
-a, --all | every bucket on the platform (platform admins only) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket public
let anyone read a bucket's files at its own HTTPS address (on), or make it private again (off)
kvbox bucket public <name> <state> [options]| Argument | Meaning |
|---|---|
<name> | bucket name |
<state> | on (public) or off (private) |
| Option | What it does |
|---|---|
--sub <name> | the address to use, <name>.kvbox.app (default: <bucket>-<account>) |
--json | print the bucket as JSON |
--org <slug> | act in this org (- for your personal buckets) |
kvbox bucket rm
delete an empty bucket and its keys (the last one takes your object storage with it)
kvbox bucket rm <name> [options]| Argument | Meaning |
|---|---|
<name> | bucket name |
| Option | What it does |
|---|---|
--force | your last bucket only: delete it with everything in it |
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal buckets) |
kvbox credit
the prepaid credit left on your account and on each of your orgs
kvbox credit [options]| Option | What it does |
|---|---|
--org <slug> | one org only |
--json | print as JSON |
kvbox cron
cron: call a box on a schedule, waking it first if it sleeps
kvbox cronkvbox cron create
make a cron service: a named set of triggers
kvbox cron create <name> [options]| Argument | Meaning |
|---|---|
<name> | what to call it (lowercase letters, digits and '-') |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal cron services) |
kvbox cron info
show a cron service and its triggers
kvbox cron info <name> [options]| Argument | Meaning |
|---|---|
<name> | cron service name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal cron services) |
kvbox cron ls
list cron services
kvbox cron ls [options]| Option | What it does |
|---|---|
-a, --all | every cron service on the platform (platform admins only) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal cron services) |
kvbox cron rm
delete a cron service, its triggers and their run history
kvbox cron rm <name> [options]| Argument | Meaning |
|---|---|
<name> | cron service name |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal cron services) |
kvbox cron trigger
a cron service's triggers: a schedule and the request it sends to a box
kvbox cron triggerkvbox cron trigger add
add a trigger: on a schedule, call a port of a box or run a command in it
kvbox cron trigger add <service> <box> <expr> [options]| Argument | Meaning |
|---|---|
<service> | cron service name |
<box> | the box it acts on |
<expr> | cron expression in quotes, five fields: "0 6 * * *" is every day at 06:00 |
| Option | What it does |
|---|---|
--port <n> | call this port, the one your app listens on in the box |
--path <path> | with --port: path and query to request (default: /) |
--method <method> | with --port: HTTP method, GET or POST (default: POST) |
--run <command> | or run this command in the box, in quotes: "node ~/app/embed.js" |
--timeout <duration> | with --run: stop the command after this long (90s, 10m, 1h; default: 10m) |
--tz <zone> | time zone the schedule is read in, like Europe/Bucharest (default: UTC) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal cron services) |
kvbox cron trigger ls
list a cron service's triggers
kvbox cron trigger ls <service> [options]| Argument | Meaning |
|---|---|
<service> | cron service name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal cron services) |
kvbox cron trigger pause
stop a trigger from firing until it is resumed
kvbox cron trigger pause <service> <id> [options]| Argument | Meaning |
|---|---|
<service> | cron service name |
<id> | trigger id (kvbox cron trigger ls) |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal cron services) |
kvbox cron trigger resume
let a paused trigger fire again
kvbox cron trigger resume <service> <id> [options]| Argument | Meaning |
|---|---|
<service> | cron service name |
<id> | trigger id (kvbox cron trigger ls) |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal cron services) |
kvbox cron trigger rm
delete a trigger and its run history
kvbox cron trigger rm <service> <id> [options]| Argument | Meaning |
|---|---|
<service> | cron service name |
<id> | trigger id (kvbox cron trigger ls) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal cron services) |
kvbox cron trigger run
fire a trigger now, once, besides its schedule
kvbox cron trigger run <service> <id> [options]| Argument | Meaning |
|---|---|
<service> | cron service name |
<id> | trigger id (kvbox cron trigger ls) |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal cron services) |
kvbox cron trigger runs
show how a trigger's last runs ended
kvbox cron trigger runs <service> <id> [options]| Argument | Meaning |
|---|---|
<service> | cron service name |
<id> | trigger id (kvbox cron trigger ls) |
| Option | What it does |
|---|---|
-n, --limit <count> | how many runs to show (default: 20) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal cron services) |
kvbox deploy
put the app in this directory (React, Next.js, a Node server, a Dockerfile or a static site) on a box with its own HTTPS address; redeploy by running it again
kvbox deploy [dir] [options]| Argument | Meaning |
|---|---|
[dir] | the app's directory (default: the current one) |
| Option | What it does |
|---|---|
-t, --template <template> | what kind of app it is (detected from package.json and the directory when not given) |
-n, --name <name> | the box's name (default: the directory's name) |
--sub <subdomain> | its HTTPS name, https://<subdomain>.kvbox.app (default: the box's name) |
-s, --size <size> | size of the box when it has to be made |
--port <port> | the box port of a Next.js app, Node server or container (default 3000; saved to kvbox.json) |
--only <service> | with several services in kvbox.json: deploy this one only (repeatable) |
-y, --yes | ask nothing: take the defaults for whatever the flags and kvbox.json leave open |
--json | print the result as JSON |
--org <slug> | deploy into this org's boxes (saved to kvbox.json) |
kvbox domain
serve a box at a domain of your own
kvbox domainkvbox domain add
serve a box at a domain of your own, https://<domain>, with its certificate made for you
kvbox domain add <domain> <box> [options]| Argument | Meaning |
|---|---|
<domain> | a domain you control, like example.com or app.example.com |
<box> | box name |
| Option | What it does |
|---|---|
--port <port> | the box port the domain serves (default: the port of its kvbox.app address) |
--json | print the domain as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox domain ls
list your custom domains and whether they are live
kvbox domain ls [options]| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox domain rm
stop serving a box at a custom domain
kvbox domain rm <domain> [options]| Argument | Meaning |
|---|---|
<domain> | the domain |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal boxes) |
kvbox env
environment variables every box of yours gets when it starts (secrets too)
kvbox envkvbox env ls
list the variables (a secret shows as (sealed))
kvbox env ls [options]| Option | What it does |
|---|---|
--box <box> | what this box gets: its own variables and the ones it inherits |
--json | print as JSON |
--org <slug> | the org's variables instead of yours |
kvbox env rm
remove variables; boxes lose them when they next start
kvbox env rm <names> [options]| Argument | Meaning |
|---|---|
<names> | variable names |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--box <box> | remove this box's own variables (yours, or the org's, of the same name come back) |
--json | print as JSON |
--org <slug> | the org's variables instead of yours |
kvbox env set
add or change a variable; boxes get it when they next start
kvbox env set [name] [value] [options]| Argument | Meaning |
|---|---|
[name] | variable name, e.g. DATABASE_URL (asked for when left out) |
[value] | its value (asked for when left out; hidden with --secret) |
| Option | What it does |
|---|---|
--secret | write-only: the value is never shown again, by any command |
--box <box> | this box's own variable, over yours (or the org's) of the same name |
--json | print as JSON |
--org <slug> | the org's variables instead of yours |
kvbox integration
integrations: accounts (GitHub, Claude Code) connected once in the web app and turned on per box with --integration
kvbox integrationkvbox integration ls
list the accounts connected for your boxes (GitHub, Claude Code), per slug; connect one in the web app
kvbox integration ls [options]| Option | What it does |
|---|---|
--json | print as JSON |
kvbox k8s
Kubernetes clusters kvbox runs for you
kvbox k8skvbox k8s backup
back up what a cluster knows, list backups, restore or remove one, or change its nightly schedule
kvbox k8s backupkvbox k8s backup create
back up what a cluster knows to the kvbox cloud (encrypted)
kvbox k8s backup create <cluster> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
| Option | What it does |
|---|---|
--wait | stay until the backup is ready (by default it runs in the background) |
--json | print the backup as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s backup ls
list backups: every cluster's, or one cluster's
kvbox k8s backup ls [cluster] [options]| Argument | Meaning |
|---|---|
[cluster] | cluster name (default: every cluster) |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s backup restore
put a backup back: what the cluster knows becomes the backup's (its master restarts)
kvbox k8s backup restore <cluster> <id> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<id> | the backup's id (kvbox k8s backup ls <cluster>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--no-wait | do not wait for the nodes to be Ready again |
--json | print what changed as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s backup rm
remove a backup for good (a cluster's that is gone too)
kvbox k8s backup rm <cluster> <id> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<id> | the backup's id (kvbox k8s backup ls <cluster>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s backup schedule
show or change when a cluster is backed up on its own (daily, UTC)
kvbox k8s backup schedule <cluster> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
| Option | What it does |
|---|---|
--at <hour> | back it up daily at this hour, 0-23 UTC (turns it on) |
--off | stop backing it up on its own |
--on | back it up on its own, at the hour it has |
--json | print the schedule as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s create
make a Kubernetes cluster with its first nodes (a few minutes)
kvbox k8s create <name> [options]| Argument | Meaning |
|---|---|
<name> | cluster name: 1-8 lowercase letters, digits and '-' (not at either end) |
| Option | What it does |
|---|---|
--size <size> | what each node is sized at: s, m, l |
--nodes <n> | how many nodes (1-9) (default: 2) |
--near <box> | put it on the host of this box |
--location <location> | put it on a host in this country or region, e.g. DE, romania or eu (default: kvbox location) |
--no-wait | do not wait for the cluster to be ready |
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s domain
serve a cluster at domains of your own: add one, list them, remove one
kvbox k8s domainkvbox k8s domain add
serve a cluster at a domain of your own, https://<domain>, with its certificate made for you; an Ingress for that host picks the app
kvbox k8s domain add <cluster> <domain> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<domain> | a domain you control, like example.com or app.example.com |
| Option | What it does |
|---|---|
--json | print the domain as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s domain ls
list a cluster's custom domains and whether they are live
kvbox k8s domain ls <cluster> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s domain rm
stop serving a cluster at a custom domain
kvbox k8s domain rm <cluster> <domain> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<domain> | the domain |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s info
one cluster: its API address, whether it is ready, its nodes
kvbox k8s info <name> [options]| Argument | Meaning |
|---|---|
<name> | cluster name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s kubeconfig
print the cluster's kubeconfig (it is the cluster's admin: keep it like a password)
kvbox k8s kubeconfig <name> [options]| Argument | Meaning |
|---|---|
<name> | cluster name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s link
let every pod of a cluster reach a database or a box's port (private; never public)
kvbox k8s link <cluster> <target> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<target> | a database (kvbox pg, kvbox redis) or a box; <slug>/<name> for another account's |
| Option | What it does |
|---|---|
-p, --port <port> | the port, for a box (a database has its own) |
--json | print the link as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s links
list what a cluster reaches (kvbox k8s link)
kvbox k8s links <cluster> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s ls
list Kubernetes clusters
kvbox k8s ls [options]| Option | What it does |
|---|---|
-a, --all | every cluster on the platform (platform admins only) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s node
one node of a cluster: restart it
kvbox k8s nodekvbox k8s node restart
stop and boot one node of a cluster again (the cluster's own name restarts its master)
kvbox k8s node restart <cluster> <node> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<node> | the node's name, as kvbox k8s info lists it; the cluster's name for its master |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s pool
a cluster's node pools: add one, list them, change how many nodes one has, remove one
kvbox k8s poolkvbox k8s pool add
add a pool of nodes to a cluster
kvbox k8s pool add <cluster> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
| Option | What it does |
|---|---|
--size <size> | what each node is sized at: s, m, l |
--nodes <n> | how many nodes (1-9) (default: 2) |
--name <pool> | the pool's name (default: its size) |
--no-wait | do not wait for the nodes to join |
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s pool ls
list a cluster's pools
kvbox k8s pool ls <cluster> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s pool resize
change how many nodes a pool has
kvbox k8s pool resize <cluster> <pool> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<pool> | pool name (kvbox k8s pool ls <cluster>) |
| Option | What it does |
|---|---|
--nodes <n> | how many nodes the pool should have |
--force | fewer nodes: remove them at once, undrained, with what they keep on their disks |
-y, --yes | do not ask for confirmation (fewer nodes) |
--no-wait | do not wait for new nodes to join, or for removed ones to drain |
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s pool rm
remove a pool and its nodes from a cluster
kvbox k8s pool rm <cluster> <pool> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<pool> | pool name (kvbox k8s pool ls <cluster>) |
| Option | What it does |
|---|---|
--force | remove the nodes at once, undrained, with what they keep on their disks |
-y, --yes | do not ask for confirmation |
--no-wait | do not wait for the nodes to drain |
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s proxy
a cluster's HTTPS addresses, https://<name>.kvbox.app: claim one, list them, give one up
kvbox k8s proxykvbox k8s proxy claim
give a cluster an HTTPS address, https://<subdomain>.kvbox.app (up to 5 per cluster); an Ingress for that host picks the app
kvbox k8s proxy claim <cluster> <subdomain> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<subdomain> | 3-63 lowercase letters, digits and '-'; must be free |
| Option | What it does |
|---|---|
--json | print the address as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s proxy ls
list a cluster's kvbox.app addresses
kvbox k8s proxy ls <cluster> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s proxy release
give up one of a cluster's kvbox.app addresses
kvbox k8s proxy release <cluster> <subdomain> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<subdomain> | the subdomain (kvbox k8s proxy ls <cluster>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s rm
delete a cluster with everything running in it
kvbox k8s rm <name> [options]| Argument | Meaning |
|---|---|
<name> | cluster name |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s rotate
give a cluster new credentials: every kubeconfig handed out so far stops working
kvbox k8s rotate <cluster> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--no-wait | do not wait for the master and the nodes to restart |
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s start
run a cluster's master and nodes again after they stopped
kvbox k8s start <name> [options]| Argument | Meaning |
|---|---|
<name> | cluster name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox k8s unlink
take a cluster's link away (kvbox k8s link)
kvbox k8s unlink <cluster> <target> [options]| Argument | Meaning |
|---|---|
<cluster> | cluster name |
<target> | the database or box it reaches |
| Option | What it does |
|---|---|
-p, --port <port> | the port, when the cluster reaches several of that box's |
-y, --yes | do not ask for confirmation |
--json | print the removed link as JSON |
--org <slug> | act in this org (- for your personal clusters) |
kvbox key
API keys: named tokens a program (CI, an agent, the SDK) uses as KVBOX_TOKEN in place of a login
kvbox keykvbox key create
make an API key for a program: CI, an agent, the SDK (the key is shown once)
kvbox key create <name> [options]| Argument | Meaning |
|---|---|
<name> | what to call the key: lowercase letters, digits, '.', '_' or '-' |
| Option | What it does |
|---|---|
--expires <when> | when it stops working: a duration (30d, 12h; m is minutes), a day (2027-01-31), or never; 90d by default |
--json | print as JSON |
kvbox key ls
list your API keys (never the keys themselves)
kvbox key ls [options]| Option | What it does |
|---|---|
--json | print as JSON |
kvbox key rm
remove an API key: whatever uses it stops working
kvbox key rm <name> [options]| Argument | Meaning |
|---|---|
<name> | the key's name (kvbox key ls) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
kvbox location
where your new boxes go: a default country or region (eu) for your account or an org
kvbox location [options]| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | the org's default (- for your account's) |
kvbox location ls
the countries and regions a new box can be placed in now
kvbox location ls [options]| Option | What it does |
|---|---|
--json | print as JSON |
kvbox location set
set the default location: where your new boxes go when a command does not say
kvbox location set <location> [options]| Argument | Meaning |
|---|---|
<location> | a country (its name or code, e.g. DE) or a region (eu, us) |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | the org's default (- for your account's) |
kvbox location unset
clear the default location: new boxes go to any host again
kvbox location unset [options]| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | the org's default (- for your account's) |
kvbox login
log in to the kvbox cloud (or your own control plane) and target it from now on
kvbox login [url] [options]| Argument | Meaning |
|---|---|
[url] | control plane URL (default: https://api.kvbox.sh) |
| Option | What it does |
|---|---|
--password | log in with email and password instead of approving a code in the web app |
-e, --email <email> | account email, for a password login (prompted otherwise) |
--password-stdin | read the password from the first line of stdin (for scripts) |
kvbox logout
log out of the control plane; commands target this machine's kvbox-server again
kvbox logoutkvbox managed
databases kvbox runs for you, every kind together (PostgreSQL: kvbox pg, Redis (Valkey): kvbox redis)
kvbox managedkvbox managed ls
list every managed database, whatever its kind
kvbox managed ls [options]| Option | What it does |
|---|---|
-a, --all | every one on the platform (platform admins only) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox org
orgs: shared slugs that own boxes, with owners, admins and members
kvbox orgkvbox org ls
list the orgs you belong to and your role in each
kvbox org ls [options]| Option | What it does |
|---|---|
--json | print as JSON |
kvbox org members
who is in an org and what they may do
kvbox org memberskvbox org members add
add a user to an org (admins and owners; only an owner can add an owner)
kvbox org members add <user> [options]| Argument | Meaning |
|---|---|
<user> | their username |
| Option | What it does |
|---|---|
-r, --role <role> | their role (default: member) |
-o, --org <slug> | the org (or --org before the command) |
kvbox org members ls
list an org's members and their roles
kvbox org members ls [options]| Option | What it does |
|---|---|
-o, --org <slug> | the org (or --org before the command) |
--json | print as JSON |
kvbox org members rm
remove a member (or leave: remove yourself)
kvbox org members rm <user> [options]| Argument | Meaning |
|---|---|
<user> | their username |
| Option | What it does |
|---|---|
-o, --org <slug> | the org (or --org before the command) |
-y, --yes | do not ask for confirmation |
kvbox org new
create an org; you become its owner (the slug is permanent, the name is not)
kvbox org new <slug> [options]| Argument | Meaning |
|---|---|
<slug> | the org's slug: lowercase, like a username (acme) |
| Option | What it does |
|---|---|
-n, --name <name> | display name (default: the slug) |
--json | print the org as JSON |
kvbox org rm
delete an org (owners only; remove its boxes and snapshots first)
kvbox org rm <slug> [options]| Argument | Meaning |
|---|---|
<slug> | the org |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
kvbox org role
change a member's role (owners only)
kvbox org role <user> <role> [options]| Argument | Meaning |
|---|---|
<user> | their username |
<role> | owner, admin or member |
| Option | What it does |
|---|---|
-o, --org <slug> | the org (default: the current context) |
kvbox pg
managed PostgreSQL: a database kvbox runs for you, private until you link a box or make it public
kvbox pgkvbox pg backup
back up a database to the kvbox cloud, list backups, restore or remove one, or change its nightly schedule
kvbox pg backupkvbox pg backup create
back up a database to the kvbox cloud (encrypted)
kvbox pg backup create <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--wait | stay until the backup is ready (by default it runs in the background) |
--json | print the backup as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg backup ls
list backups: every database's, or one database's
kvbox pg backup ls [db] [options]| Argument | Meaning |
|---|---|
[db] | its name (default: every database) |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg backup restore
put a backup back: the database's data becomes the backup's (it restarts)
kvbox pg backup restore <db> <id> [options]| Argument | Meaning |
|---|---|
<db> | its name |
<id> | the backup's id (kvbox pg backup ls <db>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--json | print the database as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg backup rm
remove a backup for good (a database's that is gone too)
kvbox pg backup rm <db> <id> [options]| Argument | Meaning |
|---|---|
<db> | its name |
<id> | the backup's id (kvbox pg backup ls <db>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg backup schedule
show or change when a database is backed up on its own (daily, UTC)
kvbox pg backup schedule <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--at <hour> | back it up daily at this hour, 0-23 UTC (turns it on) |
--off | stop backing it up on its own |
--on | back it up on its own, at the hour it has |
--json | print the schedule as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg create
create a PostgreSQL database: a name is all it needs
kvbox pg create <name> [options]| Argument | Meaning |
|---|---|
<name> | its name (1-12 chars, lowercase letters, digits and '-'); a linked box reaches it at <name>.<account>.kvbox |
| Option | What it does |
|---|---|
--database <name> | the database created in it (default: the name) |
--user <name> | the user that owns it (default: the name) |
--password <password> | its password (default: generated) |
--storage <gb> | storage for the data in GB (default: 10; it can grow later) |
--near <box> | run it on the host of this box, so a link between them stays on that host |
--location <location> | put it on a host in this country or region, e.g. DE, romania or eu (default: kvbox location) |
--from-backup <id> | start it on this backup's data, a removed database's too (kvbox pg backup ls) |
--json | print it as JSON, password included |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg grow
give a database more storage (it restarts once)
kvbox pg grow <db> <GB> [options]| Argument | Meaning |
|---|---|
<db> | its name |
<GB> | the new size in GB, larger than what it has |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg info
show one database: status, storage used, how to connect
kvbox pg info <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg link
let a box reach a database privately
kvbox pg link <db> <box> [options]| Argument | Meaning |
|---|---|
<db> | the database |
<box> | the box that connects to it |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg ls
list your PostgreSQL databases
kvbox pg ls [options]| Option | What it does |
|---|---|
-a, --all | every one on the platform (platform admins only) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg password
show a database's password, or set a new one with --reset
kvbox pg password <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--reset | make a new password; the old one stops working |
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg public
open a database to the internet, or close it again
kvbox pg public <db> <state> [options]| Argument | Meaning |
|---|---|
<db> | its name |
<state> | on: reachable from anywhere with the password; off: only linked boxes |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg rm
delete a database and all its data
kvbox pg rm <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg start
run a stopped database again
kvbox pg start <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg stop
shut a database down, keeping its data (only its storage is charged)
kvbox pg stop <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox pg unlink
stop a box from reaching a database
kvbox pg unlink <db> <box> [options]| Argument | Meaning |
|---|---|
<db> | the database |
<box> | the box that was linked to it |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redeem
redeem a promo code for credit, on your account or (--org) an org you own
kvbox redeem <code> [options]| Argument | Meaning |
|---|---|
<code> | the code, like KV-7F3K-9QXM-2HBD |
| Option | What it does |
|---|---|
--org <slug> | give the credit to this org, which you own; it cannot be moved later |
--json | print as JSON |
kvbox redis
managed Redis (Valkey): a Redis kvbox runs for you, private until you link a box or make it public
kvbox rediskvbox redis backup
back up a database to the kvbox cloud, list backups, restore or remove one, or change its nightly schedule
kvbox redis backupkvbox redis backup create
back up a database to the kvbox cloud (encrypted)
kvbox redis backup create <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--wait | stay until the backup is ready (by default it runs in the background) |
--json | print the backup as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis backup ls
list backups: every database's, or one database's
kvbox redis backup ls [db] [options]| Argument | Meaning |
|---|---|
[db] | its name (default: every database) |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis backup restore
put a backup back: the database's data becomes the backup's (it restarts)
kvbox redis backup restore <db> <id> [options]| Argument | Meaning |
|---|---|
<db> | its name |
<id> | the backup's id (kvbox redis backup ls <db>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--json | print the database as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis backup rm
remove a backup for good (a database's that is gone too)
kvbox redis backup rm <db> <id> [options]| Argument | Meaning |
|---|---|
<db> | its name |
<id> | the backup's id (kvbox redis backup ls <db>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis backup schedule
show or change when a database is backed up on its own (daily, UTC)
kvbox redis backup schedule <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--at <hour> | back it up daily at this hour, 0-23 UTC (turns it on) |
--off | stop backing it up on its own |
--on | back it up on its own, at the hour it has |
--json | print the schedule as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis create
create a Redis (Valkey) database: a name is all it needs
kvbox redis create <name> [options]| Argument | Meaning |
|---|---|
<name> | its name (1-12 chars, lowercase letters, digits and '-'); a linked box reaches it at <name>.<account>.kvbox |
| Option | What it does |
|---|---|
--password <password> | its password (default: generated) |
--storage <gb> | storage for the data in GB (default: 5; it can grow later) |
--near <box> | run it on the host of this box, so a link between them stays on that host |
--location <location> | put it on a host in this country or region, e.g. DE, romania or eu (default: kvbox location) |
--from-backup <id> | start it on this backup's data, a removed database's too (kvbox redis backup ls) |
--json | print it as JSON, password included |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis grow
give a database more storage (it restarts once)
kvbox redis grow <db> <GB> [options]| Argument | Meaning |
|---|---|
<db> | its name |
<GB> | the new size in GB, larger than what it has |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis info
show one database: status, storage used, how to connect
kvbox redis info <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis link
let a box reach a database privately
kvbox redis link <db> <box> [options]| Argument | Meaning |
|---|---|
<db> | the database |
<box> | the box that connects to it |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis ls
list your Redis (Valkey) databases
kvbox redis ls [options]| Option | What it does |
|---|---|
-a, --all | every one on the platform (platform admins only) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis password
show a database's password, or set a new one with --reset
kvbox redis password <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--reset | make a new password; the old one stops working |
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis public
open a database to the internet, or close it again
kvbox redis public <db> <state> [options]| Argument | Meaning |
|---|---|
<db> | its name |
<state> | on: reachable from anywhere with the password; off: only linked boxes |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis rm
delete a database and all its data
kvbox redis rm <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis start
run a stopped database again
kvbox redis start <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis stop
shut a database down, keeping its data (only its storage is charged)
kvbox redis stop <db> [options]| Argument | Meaning |
|---|---|
<db> | its name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox redis unlink
stop a box from reaching a database
kvbox redis unlink <db> <box> [options]| Argument | Meaning |
|---|---|
<db> | the database |
<box> | the box that was linked to it |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal databases) |
kvbox registry
container registry: a private place for your docker images (docker push and pull)
kvbox registrykvbox registry backup
back up your container registry to the kvbox cloud, list backups, restore or remove one
kvbox registry backupkvbox registry backup create
back up your container registry (every image) to the kvbox cloud, encrypted
kvbox registry backup create [options]| Option | What it does |
|---|---|
--wait | stay until the backup is ready (by default it runs in the background) |
--json | print the backup as JSON |
--org <slug> | act in this org (- for your personal registry) |
kvbox registry backup ls
list the backups of your container registry
kvbox registry backup ls [options]| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal registry) |
kvbox registry backup restore
put a backup back: every image becomes the backup's (the registry restarts)
kvbox registry backup restore <id> [options]| Argument | Meaning |
|---|---|
<id> | the backup's id (kvbox registry backup ls) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--json | print the registry as JSON |
--org <slug> | act in this org (- for your personal registry) |
kvbox registry backup rm
remove a backup of your container registry for good
kvbox registry backup rm <id> [options]| Argument | Meaning |
|---|---|
<id> | the backup's id (kvbox registry backup ls) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal registry) |
kvbox registry backup schedule
show or switch the nightly backup of your container registry (daily, UTC; off until you turn it on)
kvbox registry backup schedule [options]| Option | What it does |
|---|---|
--at <hour> | back it up daily at this hour, 0-23 UTC (turns it on) |
--off | stop backing it up on its own |
--on | back it up on its own, at the hour it has |
--json | print the schedule as JSON |
--org <slug> | act in this org (- for your personal registry) |
kvbox registry create
make your container registry: a private place for your docker images (one per account)
kvbox registry create [options]| Option | What it does |
|---|---|
--size <GB> | how much it may hold (default 20) |
--near <box> | put it on the host of this box |
--location <location> | put it on a host in this country or region, e.g. DE, romania or eu (default: kvbox location) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal registry) |
kvbox registry grow
make your container registry larger (it restarts once)
kvbox registry grow <GB> [options]| Argument | Meaning |
|---|---|
<GB> | the new size in GB, larger than what it has |
| Option | What it does |
|---|---|
--json | print the registry as JSON |
--org <slug> | act in this org (- for your personal registry) |
kvbox registry info
your container registry: its address, how full it is, what is in it
kvbox registry info [options]| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal registry) |
kvbox registry password
show your container registry's login, or set a new password with --reset
kvbox registry password [options]| Option | What it does |
|---|---|
--reset | make a new password; the old one stops working |
--json | print as JSON |
--org <slug> | act in this org (- for your personal registry) |
kvbox registry rm
delete your container registry with every image in it
kvbox registry rm [options]| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal registry) |
kvbox snapshots
freeze running boxes into snapshots and manage them
kvbox snapshotskvbox snapshots ls
list snapshots (yours and your orgs'; --org <slug> for one org)
kvbox snapshots ls [options]| Option | What it does |
|---|---|
-a, --all | every snapshot on the platform (platform admins only) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox snapshots new
freeze a running box (memory + disk) into a snapshot; the box keeps running
kvbox snapshots new <box> <name> [options]| Argument | Meaning |
|---|---|
<box> | box name |
<name> | snapshot name |
| Option | What it does |
|---|---|
--replace | retake a snapshot that exists under this name; the old one stays until the new one is complete |
--json | print the snapshot as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox snapshots rm
delete a snapshot (boxes made from it are not affected)
kvbox snapshots rm <name> [options]| Argument | Meaning |
|---|---|
<name> | snapshot name |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal boxes) |
kvbox ssh-config
add your boxes to ~/.ssh/config, so ssh and VS Code Remote-SSH reach them as <box>.kvbox
kvbox ssh-config [box] [options]| Argument | Meaning |
|---|---|
[box] | only these boxes, added to the ones listed already (default: every box) |
| Option | What it does |
|---|---|
--remove | take these boxes off the list; with no box, take the whole kvbox block out |
--file <path> | the ssh config file to write (default: ~/.ssh/config) |
--json | print the result as JSON |
kvbox update
update kvbox to the latest version (reruns the installer from kvbox.sh, agent skill included)
kvbox updatekvbox usage
what your boxes and volumes used this month (or --since/--until): running time, vCPU-h, RAM and disk GiB-h, cost
kvbox usage [options]| Option | What it does |
|---|---|
--since <date> | count from this date, e.g. 2026-10-01 (default: the 1st of this month) |
--until <date> | count up to this date (default: now) |
--org <slug> | one org's boxes only |
-a, --all | every box on the platform (platform admins only) |
--by-user | one line per user who made the boxes (e.g. who spent what in --org) |
--json | print as JSON |
kvbox vm
manage boxes (each one is a Firecracker microVM)
kvbox vmkvbox vm backup
back up a box's disk to the kvbox cloud, list backups, restore or remove one
kvbox vm backupkvbox vm backup create
back up a box's disk to the kvbox cloud (encrypted; memory and volumes not included)
kvbox vm backup create <box> [options]| Argument | Meaning |
|---|---|
<box> | box name |
| Option | What it does |
|---|---|
--wait | stay until the backup is ready (by default it runs in the background) |
--json | print the backup as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm backup ls
list backups: every box's, or one box's
kvbox vm backup ls [box] [options]| Argument | Meaning |
|---|---|
[box] | box name (default: every box) |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm backup restore
put a backup back: the box's disk becomes the backup's (a running box restarts)
kvbox vm backup restore <box> <id> [options]| Argument | Meaning |
|---|---|
<box> | box name |
<id> | the backup's id (kvbox vm backup ls <box>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm backup rm
remove a backup for good (a box's that is gone too)
kvbox vm backup rm <box> <id> [options]| Argument | Meaning |
|---|---|
<box> | box name |
<id> | the backup's id (kvbox vm backup ls <box>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm backup schedule
show or switch a box's nightly backup (daily, UTC; off until you turn it on)
kvbox vm backup schedule <box> [options]| Argument | Meaning |
|---|---|
<box> | box name |
| Option | What it does |
|---|---|
--at <hour> | back it up daily at this hour, 0-23 UTC (turns it on) |
--off | stop backing it up on its own |
--on | back it up on its own, at the hour it has |
--json | print the schedule as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm connect
Shortcut: kvbox connect.
open a shell in a box over SSH (or run a command: kvbox connect <name> -- <cmd>)
kvbox vm connect [name] [cmd] [options]| Argument | Meaning |
|---|---|
[name] | box name (picked from a list when left out) |
[cmd] | command to run instead of a shell |
| Option | What it does |
|---|---|
--direct | on the box's host: ssh to the box's private ip, not through the public address or relay |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm cp
Shortcut: kvbox cp.
copy files between this machine and a box (kvbox cp ./f <box>:f, kvbox cp <box>:f .)
kvbox vm cp <src> <dest> [options]| Argument | Meaning |
|---|---|
<src> | a local path, or <box>:<path> |
<dest> | a local path, or <box>:<path> |
| Option | What it does |
|---|---|
-r, --recursive | copy directories |
--direct | on the box's host: ssh to the box's private ip, not through the public address or relay |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm exec
Shortcut: kvbox exec.
run a command in a box and exit with its status (kvbox exec <name> -- <cmd>)
kvbox vm exec <name> <cmd> [options]| Argument | Meaning |
|---|---|
<name> | box name |
<cmd> | command, passed to the box's shell as one string (pipes, &&, cd work) |
| Option | What it does |
|---|---|
-e, --env <KEY=VALUE> | set an environment variable for the command (repeatable) |
--timeout <seconds> | kill the command after N seconds and exit 124 |
--tty | allocate a pseudo-terminal (for interactive tools like htop) |
--json | capture output and print {"output": "...", "exit_code": N} |
--direct | on the box's host: ssh to the box's private ip, not through the public address or relay |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm fork
copy a box, running or stopped, into a new one on the same host (--org: into an org)
kvbox vm fork <box> [name] [options]| Argument | Meaning |
|---|---|
<box> | the box to copy |
[name] | the copy's name (box1, box2, … when omitted) |
| Option | What it does |
|---|---|
-s, --size <size> | the copy's size, for a stopped box only (default: the box's) |
--auto-hibernate <duration> | hibernate the copy after this long without network traffic (30m, 4h, 1d; off: never; default: the box's) |
--force | skip the capacity guard |
--json | print the new box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm get
Shortcut: kvbox get.
show one box in full: status, size, address, HTTPS name, ports, auto-hibernate
kvbox vm get <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm hibernate
Shortcut: kvbox hibernate.
save a box's memory to disk and free its RAM (kvbox wake continues it where it left off)
kvbox vm hibernate <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm hook
URLs that wake a box when called (GitHub webhooks, cron, any automation)
kvbox vm hookkvbox vm hook create
make a URL that wakes the box when called (a GitHub webhook, cron, any automation)
kvbox vm hook create <box> [options]| Argument | Meaning |
|---|---|
<box> | box name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm hook ls
list a box's wake hooks
kvbox vm hook ls <box> [options]| Argument | Meaning |
|---|---|
<box> | box name |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm hook rm
remove a wake hook: its URL stops working
kvbox vm hook rm <box> <id> [options]| Argument | Meaning |
|---|---|
<box> | box name |
<id> | the hook's id (kvbox vm hook ls <box>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--json | print the removed hook as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm link
let one box reach a port of another (private; never public)
kvbox vm link <from> <box> [options]| Argument | Meaning |
|---|---|
<from> | the box that connects |
<box> | the box it may reach |
| Option | What it does |
|---|---|
-p, --port <port> | the port in <box> |
--json | print the link as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm links
list the links between boxes (kvbox vm link)
kvbox vm links [box] [options]| Argument | Meaning |
|---|---|
[box] | only links into or out of this box |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm ls
Shortcut: kvbox ls.
list boxes with status and address (yours and your orgs'; --org <slug> for one org)
kvbox vm ls [options]| Option | What it does |
|---|---|
-a, --all | every box on the platform (platform admins only) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm new
Shortcut: kvbox new.
boot a new box from an image (the base one, or e.g. postgres) or a snapshot
kvbox vm new [name] [options]| Argument | Meaning |
|---|---|
[name] | box name (box1, box2, … when omitted) |
| Option | What it does |
|---|---|
-s, --size <size> | box size (default: server config, s) |
-b, --base <image> | the image to boot: base (default) or one the host has, e.g. postgres |
-e, --env <NAME=value> | a variable of the box's own, over yours (repeatable; change later with kvbox env set --box) (default: ``) |
-f, --from <snapshot> | start from a snapshot instead of an image |
--from-backup <id> | start on a backup's disk, a removed box's too (kvbox vm backup ls); image, variables and size come from it |
--near <box> | put it on the same host as this box, so a link between the two stays on that host (kvbox vm link) |
--location <location> | put it on a host in this country or region, e.g. DE, romania or eu (default: kvbox location) |
--country <country> | put it on a host in this country, a name or a code, e.g. romania or US |
--host <name> | put it on this host and no other (admins only) |
--auto-hibernate <duration> | hibernate the box after this long without network traffic (30m, 4h, 1d; off: never; default: server config, off) |
--integration <list> | turn integrations on for the box, e.g. github,claude (connect the account in the web app; off: none) |
--force | skip the capacity guard |
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm pause
Shortcut: kvbox pause.
freeze a box in place (memory and processes kept, no CPU used; kvbox resume continues it instantly)
kvbox vm pause <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm proxy
publish box ports on the internet
kvbox vm proxykvbox vm proxy add
publish box ports on the internet; each gets a random public port, or an HTTPS name with --name
kvbox vm proxy add <box> <port> [options]| Argument | Meaning |
|---|---|
<box> | box name |
<port> | ports inside the box, e.g. 3000 8080 |
| Option | What it does |
|---|---|
--udp | UDP instead of TCP |
--name <name> | serve the port at https://<name>.<subdomain>.kvbox.app (one port; needs kvbox vm proxy claim first) |
--sub <subdomain> | with --name: which of the box's subdomains it goes under (needed when it has more than one) |
--json | print the new forwards as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm proxy claim
Shortcut: kvbox claim.
give a box an HTTPS address, https://<subdomain>.kvbox.app, serving one of its ports (up to 5 per box)
kvbox vm proxy claim [box] [subdomain] [options]| Argument | Meaning |
|---|---|
[box] | box name (picked from a list when left out) |
[subdomain] | 3-63 lowercase letters, digits and '-'; must be free (asked for when left out) |
| Option | What it does |
|---|---|
--port <port> | the box port the address serves (asked for when left out) |
--json | print the subdomain as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm proxy ls
list the box ports published on the internet
kvbox vm proxy ls [box] [options]| Argument | Meaning |
|---|---|
[box] | only this box |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm proxy release
give up one of a box's HTTPS addresses and every name under it
kvbox vm proxy release <box> [options]| Argument | Meaning |
|---|---|
<box> | box name |
| Option | What it does |
|---|---|
--sub <subdomain> | which of the box's subdomains (needed when it has more than one) |
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm proxy rm
stop publishing box ports, or an HTTPS name with --name
kvbox vm proxy rm <box> [port] [options]| Argument | Meaning |
|---|---|
<box> | box name |
[port] | ports inside the box, as given to add |
| Option | What it does |
|---|---|
--udp | the UDP forwards of those ports |
--name <name> | the HTTPS name to free (kvbox vm proxy release frees the whole subdomain) |
--sub <subdomain> | with --name: which of the box's subdomains the name is under (needed when it has more than one) |
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm proxy set-port
point a box's HTTPS address at another of its ports
kvbox vm proxy set-port <box> <port> [options]| Argument | Meaning |
|---|---|
<box> | box name |
<port> | the box port https://<subdomain>.kvbox.app serves from now on |
| Option | What it does |
|---|---|
--sub <subdomain> | which of the box's subdomains (needed when it has more than one) |
--json | print the subdomain as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm rescale
change a box's vCPUs, memory or disk (e.g. --vcpu 4 --mem 16GB); a running box restarts
kvbox vm rescale <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
-s, --size <size> | a preset to start from |
--vcpu <n> | number of vCPUs |
--mem <size> | memory, e.g. 16GB or 4096MB |
--disk <size> | disk size, e.g. 32GB (grow only) |
--force | skip the capacity guard when a running box grows |
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm resources
CPU, memory, disk and network of a box over time, measured while it runs (last 7 days at most)
kvbox vm resources <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--since <when> | how far back: 1h, 24h, 7d, or a date like 2026-11-19 (default 24h) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm restart
stop a box and boot it again in one step (a hibernated box loses its saved memory)
kvbox vm restart <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--force | skip the capacity guard |
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm resume
Shortcut: kvbox resume.
continue a box that is in standby (kvbox pause)
kvbox vm resume <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm rm
Shortcut: kvbox rm.
destroy a box (its disk is deleted; snapshots are kept)
kvbox vm rm <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm set
change a box's settings, e.g. --auto-hibernate 30m (off: never), --idle-check /home/kvbox/idle.sh, --integration github, --swap 2G
kvbox vm set <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--auto-hibernate <duration> | hibernate the box after this long without network traffic (30m, 4h, 1d; off: never) |
--idle-check <script> | a script in the box that exits 0 when it is idle, asked instead of network traffic (off: none) |
--integration <list> | the integrations turned on for the box, replacing its list, e.g. github,claude (off: none) |
--swap <size> | a swap file on the box's disk for memory spikes such as a build (2G, 512M; off: none) |
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm start
Shortcut: kvbox start.
boot a stopped box again (same name, IP and disk)
kvbox vm start <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--force | skip the capacity guard |
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm stop
Shortcut: kvbox stop.
shut a box down (its disk is kept; start it again with kvbox start)
kvbox vm stop <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm top
load, memory and disk of each running box, as the box itself sees them
kvbox vm top [options]| Option | What it does |
|---|---|
-a, --all | every running box on the platform (platform admins only) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm traffic
requests, errors, latency, bytes and wakes through a box's HTTPS names (last 7 days at most)
kvbox vm traffic <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--since <when> | how far back: 1h, 24h, 7d, or a date like 2026-11-19 (default 24h) |
--host <name> | one of the box's names only, e.g. web.kvbox.app |
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm unlink
take a link away (kvbox vm link)
kvbox vm unlink <from> <box> [options]| Argument | Meaning |
|---|---|
<from> | the box that connects |
<box> | the box it reaches |
| Option | What it does |
|---|---|
-p, --port <port> | the port in <box> |
-y, --yes | do not ask for confirmation |
--json | print the removed link as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm update
move a box onto the current base image (its files stay; a running box restarts)
kvbox vm update <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm usage
how long a box ran, slept and sat stopped, as vCPU-hours, RAM and disk GiB-hours (and cost, when the host prices them)
kvbox vm usage <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--since <date> | count from this date instead of the box's creation, e.g. 2026-10-01 |
--json | print as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox vm wake
Shortcut: kvbox wake.
continue a hibernated box where it left off (same name, IP and disk)
kvbox vm wake <name> [options]| Argument | Meaning |
|---|---|
<name> | box name |
| Option | What it does |
|---|---|
--force | skip the capacity guard |
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal boxes) |
kvbox volume
disks of their own: create one, attach it to a box at /mnt/<name>, move it to another box later
kvbox volumekvbox volume attach
attach a volume to a box at /mnt/<volume> (a running box is restarted to take it)
kvbox volume attach [volume] [box] [options]| Argument | Meaning |
|---|---|
[volume] | volume name (picked from a list when left out) |
[box] | box name (picked from a list when left out) |
| Option | What it does |
|---|---|
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal volumes) |
kvbox volume backup
back up a volume's disk to the kvbox cloud, list backups, restore or remove one
kvbox volume backupkvbox volume backup create
back up a volume's disk to the kvbox cloud (encrypted)
kvbox volume backup create <volume> [options]| Argument | Meaning |
|---|---|
<volume> | volume name |
| Option | What it does |
|---|---|
--wait | stay until the backup is ready (by default it runs in the background) |
--json | print the backup as JSON |
--org <slug> | act in this org (- for your personal volumes) |
kvbox volume backup ls
list volume backups: every volume's, or one volume's
kvbox volume backup ls [volume] [options]| Argument | Meaning |
|---|---|
[volume] | volume name (default: every volume) |
| Option | What it does |
|---|---|
--json | print as JSON |
--org <slug> | act in this org (- for your personal volumes) |
kvbox volume backup restore
put a backup back: the volume's data becomes the backup's (a running box holding it restarts)
kvbox volume backup restore <volume> <id> [options]| Argument | Meaning |
|---|---|
<volume> | volume name |
<id> | the backup's id (kvbox volume backup ls <volume>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--json | print the volume as JSON |
--org <slug> | act in this org (- for your personal volumes) |
kvbox volume backup rm
remove a backup for good (a volume's that is gone too)
kvbox volume backup rm <volume> <id> [options]| Argument | Meaning |
|---|---|
<volume> | volume name |
<id> | the backup's id (kvbox volume backup ls <volume>) |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal volumes) |
kvbox volume backup schedule
show or switch a volume's nightly backup (daily, UTC; off until you turn it on)
kvbox volume backup schedule <volume> [options]| Argument | Meaning |
|---|---|
<volume> | volume name |
| Option | What it does |
|---|---|
--at <hour> | back it up daily at this hour, 0-23 UTC (turns it on) |
--off | stop backing it up on its own |
--on | back it up on its own, at the hour it has |
--json | print the schedule as JSON |
--org <slug> | act in this org (- for your personal volumes) |
kvbox volume create
create a volume for a box: an empty disk of its own at /mnt/<name> inside it (a running box is restarted)
kvbox volume create [name] [options]| Argument | Meaning |
|---|---|
[name] | volume name (1-12 chars; the box mounts it at /mnt/<name>; asked for when left out) |
| Option | What it does |
|---|---|
--size <gb> | size in GB, like 50 or 50GB (whole GB; it only occupies what is written) |
--box <box> | the box it is for: made on that box's host and attached to it (required on kvbox.sh; optional with --local) |
--json | print the volume as JSON |
--org <slug> | act in this org (- for your personal volumes) |
kvbox volume detach
detach a volume from a box; its data is kept (a running box is restarted)
kvbox volume detach [volume] [box] [options]| Argument | Meaning |
|---|---|
[volume] | volume name (picked from a list when left out) |
[box] | box name (the one the volume is on when left out) |
| Option | What it does |
|---|---|
--json | print the box as JSON |
--org <slug> | act in this org (- for your personal volumes) |
kvbox volume grow
make a volume larger (a running box holding it is restarted once)
kvbox volume grow <volume> <GB> [options]| Argument | Meaning |
|---|---|
<volume> | volume name |
<GB> | the new size in GB, larger than what it has |
| Option | What it does |
|---|---|
--json | print the volume as JSON |
--org <slug> | act in this org (- for your personal volumes) |
kvbox volume ls
list volumes: size, what they occupy, which box has them
kvbox volume ls [options]| Option | What it does |
|---|---|
-a, --all | every volume on the platform (platform admins only) |
--json | print as JSON |
--org <slug> | act in this org (- for your personal volumes) |
kvbox volume rm
delete a volume and everything on it (detach it first)
kvbox volume rm <name> [options]| Argument | Meaning |
|---|---|
<name> | volume name |
| Option | What it does |
|---|---|
-y, --yes | do not ask for confirmation |
--org <slug> | act in this org (- for your personal volumes) |
kvbox whoami
show which account and control plane commands target (or local mode)
kvbox whoami [options]| Option | What it does |
|---|---|
--json | print as JSON |