kvbox.cloud
CLI reference

Commands

Every kvbox command, its arguments and options, generated from the CLI itself.

Global options, accepted before any command:

OptionWhat it does
--localuse 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 bucket

kvbox bucket backup

back up your object storage to the kvbox cloud, list backups, restore or remove one

kvbox bucket backup

kvbox bucket backup create

back up your object storage (every bucket and key) to the kvbox cloud, encrypted

kvbox bucket backup create [options]
OptionWhat it does
--waitstay until the backup is ready (by default it runs in the background)
--jsonprint 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]
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<id>the backup's id (kvbox bucket backup ls)
OptionWhat it does
-y, --yesdo not ask for confirmation
--jsonprint 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]
ArgumentMeaning
<id>the backup's id (kvbox bucket backup ls)
OptionWhat it does
-y, --yesdo 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]
OptionWhat it does
--at <hour>back it up daily at this hour, 0-23 UTC (turns it on)
--offstop backing it up on its own
--onback it up on its own, at the hour it has
--jsonprint 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]
ArgumentMeaning
<name>bucket name: 3-63 lowercase letters, digits and '-'
OptionWhat 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)
--jsonprint 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]
ArgumentMeaning
<GB>the new size in GB, larger than what it has
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<name>bucket name
OptionWhat it does
--jsonprint 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 key

kvbox bucket key create

make an access key for a bucket (the secret is shown once)

kvbox bucket key create <bucket> [options]
ArgumentMeaning
<bucket>bucket name
OptionWhat it does
--name <label>what to call the key, to tell it from the others
--read-onlythe key reads the bucket but cannot write to it
--jsonprint 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]
ArgumentMeaning
<bucket>bucket name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<bucket>bucket name
<access-key>the access key id (kvbox bucket key ls)
OptionWhat it does
-y, --yesdo 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]
OptionWhat it does
-a, --allevery bucket on the platform (platform admins only)
--jsonprint 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]
ArgumentMeaning
<name>bucket name
<state>on (public) or off (private)
OptionWhat it does
--sub <name>the address to use, <name>.kvbox.app (default: <bucket>-<account>)
--jsonprint 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]
ArgumentMeaning
<name>bucket name
OptionWhat it does
--forceyour last bucket only: delete it with everything in it
-y, --yesdo 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]
OptionWhat it does
--org <slug>one org only
--jsonprint as JSON

kvbox cron

cron: call a box on a schedule, waking it first if it sleeps

kvbox cron

kvbox cron create

make a cron service: a named set of triggers

kvbox cron create <name> [options]
ArgumentMeaning
<name>what to call it (lowercase letters, digits and '-')
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<name>cron service name
OptionWhat it does
--jsonprint as JSON
--org <slug>act in this org (- for your personal cron services)

kvbox cron ls

list cron services

kvbox cron ls [options]
OptionWhat it does
-a, --allevery cron service on the platform (platform admins only)
--jsonprint 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]
ArgumentMeaning
<name>cron service name
OptionWhat it does
-y, --yesdo 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 trigger

kvbox 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]
ArgumentMeaning
<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
OptionWhat 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)
--jsonprint 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]
ArgumentMeaning
<service>cron service name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<service>cron service name
<id>trigger id (kvbox cron trigger ls)
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<service>cron service name
<id>trigger id (kvbox cron trigger ls)
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<service>cron service name
<id>trigger id (kvbox cron trigger ls)
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<service>cron service name
<id>trigger id (kvbox cron trigger ls)
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<service>cron service name
<id>trigger id (kvbox cron trigger ls)
OptionWhat it does
-n, --limit <count>how many runs to show (default: 20)
--jsonprint 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]
ArgumentMeaning
[dir]the app's directory (default: the current one)
OptionWhat 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, --yesask nothing: take the defaults for whatever the flags and kvbox.json leave open
--jsonprint 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 domain

kvbox 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]
ArgumentMeaning
<domain>a domain you control, like example.com or app.example.com
<box>box name
OptionWhat it does
--port <port>the box port the domain serves (default: the port of its kvbox.app address)
--jsonprint 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]
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<domain>the domain
OptionWhat it does
-y, --yesdo 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 env

kvbox env ls

list the variables (a secret shows as (sealed))

kvbox env ls [options]
OptionWhat it does
--box <box>what this box gets: its own variables and the ones it inherits
--jsonprint 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]
ArgumentMeaning
<names>variable names
OptionWhat it does
-y, --yesdo not ask for confirmation
--box <box>remove this box's own variables (yours, or the org's, of the same name come back)
--jsonprint 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]
ArgumentMeaning
[name]variable name, e.g. DATABASE_URL (asked for when left out)
[value]its value (asked for when left out; hidden with --secret)
OptionWhat it does
--secretwrite-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
--jsonprint 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 integration

kvbox integration ls

list the accounts connected for your boxes (GitHub, Claude Code), per slug; connect one in the web app

kvbox integration ls [options]
OptionWhat it does
--jsonprint as JSON

kvbox k8s

Kubernetes clusters kvbox runs for you

kvbox k8s

kvbox k8s backup

back up what a cluster knows, list backups, restore or remove one, or change its nightly schedule

kvbox k8s backup

kvbox k8s backup create

back up what a cluster knows to the kvbox cloud (encrypted)

kvbox k8s backup create <cluster> [options]
ArgumentMeaning
<cluster>cluster name
OptionWhat it does
--waitstay until the backup is ready (by default it runs in the background)
--jsonprint 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]
ArgumentMeaning
[cluster]cluster name (default: every cluster)
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<cluster>cluster name
<id>the backup's id (kvbox k8s backup ls <cluster>)
OptionWhat it does
-y, --yesdo not ask for confirmation
--no-waitdo not wait for the nodes to be Ready again
--jsonprint 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]
ArgumentMeaning
<cluster>cluster name
<id>the backup's id (kvbox k8s backup ls <cluster>)
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<cluster>cluster name
OptionWhat it does
--at <hour>back it up daily at this hour, 0-23 UTC (turns it on)
--offstop backing it up on its own
--onback it up on its own, at the hour it has
--jsonprint 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]
ArgumentMeaning
<name>cluster name: 1-8 lowercase letters, digits and '-' (not at either end)
OptionWhat 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-waitdo not wait for the cluster to be ready
--jsonprint 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 domain

kvbox 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]
ArgumentMeaning
<cluster>cluster name
<domain>a domain you control, like example.com or app.example.com
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<cluster>cluster name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<cluster>cluster name
<domain>the domain
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<name>cluster name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<name>cluster name
OptionWhat it does
--jsonprint as JSON
--org <slug>act in this org (- for your personal clusters)

let every pod of a cluster reach a database or a box's port (private; never public)

kvbox k8s link <cluster> <target> [options]
ArgumentMeaning
<cluster>cluster name
<target>a database (kvbox pg, kvbox redis) or a box; <slug>/<name> for another account's
OptionWhat it does
-p, --port <port>the port, for a box (a database has its own)
--jsonprint the link as JSON
--org <slug>act in this org (- for your personal clusters)

list what a cluster reaches (kvbox k8s link)

kvbox k8s links <cluster> [options]
ArgumentMeaning
<cluster>cluster name
OptionWhat it does
--jsonprint as JSON
--org <slug>act in this org (- for your personal clusters)

kvbox k8s ls

list Kubernetes clusters

kvbox k8s ls [options]
OptionWhat it does
-a, --allevery cluster on the platform (platform admins only)
--jsonprint as JSON
--org <slug>act in this org (- for your personal clusters)

kvbox k8s node

one node of a cluster: restart it

kvbox k8s node

kvbox 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]
ArgumentMeaning
<cluster>cluster name
<node>the node's name, as kvbox k8s info lists it; the cluster's name for its master
OptionWhat it does
--jsonprint 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 pool

kvbox k8s pool add

add a pool of nodes to a cluster

kvbox k8s pool add <cluster> [options]
ArgumentMeaning
<cluster>cluster name
OptionWhat 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-waitdo not wait for the nodes to join
--jsonprint 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]
ArgumentMeaning
<cluster>cluster name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<cluster>cluster name
<pool>pool name (kvbox k8s pool ls <cluster>)
OptionWhat it does
--nodes <n>how many nodes the pool should have
--forcefewer nodes: remove them at once, undrained, with what they keep on their disks
-y, --yesdo not ask for confirmation (fewer nodes)
--no-waitdo not wait for new nodes to join, or for removed ones to drain
--jsonprint 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]
ArgumentMeaning
<cluster>cluster name
<pool>pool name (kvbox k8s pool ls <cluster>)
OptionWhat it does
--forceremove the nodes at once, undrained, with what they keep on their disks
-y, --yesdo not ask for confirmation
--no-waitdo not wait for the nodes to drain
--jsonprint 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 proxy

kvbox 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]
ArgumentMeaning
<cluster>cluster name
<subdomain>3-63 lowercase letters, digits and '-'; must be free
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<cluster>cluster name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<cluster>cluster name
<subdomain>the subdomain (kvbox k8s proxy ls <cluster>)
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<name>cluster name
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<cluster>cluster name
OptionWhat it does
-y, --yesdo not ask for confirmation
--no-waitdo not wait for the master and the nodes to restart
--jsonprint 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]
ArgumentMeaning
<name>cluster name
OptionWhat it does
--jsonprint as JSON
--org <slug>act in this org (- for your personal clusters)

take a cluster's link away (kvbox k8s link)

kvbox k8s unlink <cluster> <target> [options]
ArgumentMeaning
<cluster>cluster name
<target>the database or box it reaches
OptionWhat it does
-p, --port <port>the port, when the cluster reaches several of that box's
-y, --yesdo not ask for confirmation
--jsonprint 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 key

kvbox key create

make an API key for a program: CI, an agent, the SDK (the key is shown once)

kvbox key create <name> [options]
ArgumentMeaning
<name>what to call the key: lowercase letters, digits, '.', '_' or '-'
OptionWhat 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
--jsonprint as JSON

kvbox key ls

list your API keys (never the keys themselves)

kvbox key ls [options]
OptionWhat it does
--jsonprint as JSON

kvbox key rm

remove an API key: whatever uses it stops working

kvbox key rm <name> [options]
ArgumentMeaning
<name>the key's name (kvbox key ls)
OptionWhat it does
-y, --yesdo 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]
OptionWhat it does
--jsonprint 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]
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<location>a country (its name or code, e.g. DE) or a region (eu, us)
OptionWhat it does
--jsonprint 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]
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
[url]control plane URL (default: https://api.kvbox.sh)
OptionWhat it does
--passwordlog 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-stdinread 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 logout

kvbox managed

databases kvbox runs for you, every kind together (PostgreSQL: kvbox pg, Redis (Valkey): kvbox redis)

kvbox managed

kvbox managed ls

list every managed database, whatever its kind

kvbox managed ls [options]
OptionWhat it does
-a, --allevery one on the platform (platform admins only)
--jsonprint 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 org

kvbox org ls

list the orgs you belong to and your role in each

kvbox org ls [options]
OptionWhat it does
--jsonprint as JSON

kvbox org members

who is in an org and what they may do

kvbox org members

kvbox 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]
ArgumentMeaning
<user>their username
OptionWhat 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]
OptionWhat it does
-o, --org <slug>the org (or --org before the command)
--jsonprint as JSON

kvbox org members rm

remove a member (or leave: remove yourself)

kvbox org members rm <user> [options]
ArgumentMeaning
<user>their username
OptionWhat it does
-o, --org <slug>the org (or --org before the command)
-y, --yesdo 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]
ArgumentMeaning
<slug>the org's slug: lowercase, like a username (acme)
OptionWhat it does
-n, --name <name>display name (default: the slug)
--jsonprint the org as JSON

kvbox org rm

delete an org (owners only; remove its boxes and snapshots first)

kvbox org rm <slug> [options]
ArgumentMeaning
<slug>the org
OptionWhat it does
-y, --yesdo not ask for confirmation

kvbox org role

change a member's role (owners only)

kvbox org role <user> <role> [options]
ArgumentMeaning
<user>their username
<role>owner, admin or member
OptionWhat 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 pg

kvbox pg backup

back up a database to the kvbox cloud, list backups, restore or remove one, or change its nightly schedule

kvbox pg backup

kvbox pg backup create

back up a database to the kvbox cloud (encrypted)

kvbox pg backup create <db> [options]
ArgumentMeaning
<db>its name
OptionWhat it does
--waitstay until the backup is ready (by default it runs in the background)
--jsonprint 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]
ArgumentMeaning
[db]its name (default: every database)
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<db>its name
<id>the backup's id (kvbox pg backup ls <db>)
OptionWhat it does
-y, --yesdo not ask for confirmation
--jsonprint 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]
ArgumentMeaning
<db>its name
<id>the backup's id (kvbox pg backup ls <db>)
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<db>its name
OptionWhat it does
--at <hour>back it up daily at this hour, 0-23 UTC (turns it on)
--offstop backing it up on its own
--onback it up on its own, at the hour it has
--jsonprint 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]
ArgumentMeaning
<name>its name (1-12 chars, lowercase letters, digits and '-'); a linked box reaches it at <name>.<account>.kvbox
OptionWhat 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)
--jsonprint 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]
ArgumentMeaning
<db>its name
<GB>the new size in GB, larger than what it has
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<db>its name
OptionWhat it does
--jsonprint as JSON
--org <slug>act in this org (- for your personal databases)

let a box reach a database privately

kvbox pg link <db> <box> [options]
ArgumentMeaning
<db>the database
<box>the box that connects to it
OptionWhat it does
--jsonprint as JSON
--org <slug>act in this org (- for your personal databases)

kvbox pg ls

list your PostgreSQL databases

kvbox pg ls [options]
OptionWhat it does
-a, --allevery one on the platform (platform admins only)
--jsonprint 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]
ArgumentMeaning
<db>its name
OptionWhat it does
--resetmake a new password; the old one stops working
--jsonprint 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]
ArgumentMeaning
<db>its name
<state>on: reachable from anywhere with the password; off: only linked boxes
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<db>its name
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<db>its name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<db>its name
OptionWhat it does
--jsonprint as JSON
--org <slug>act in this org (- for your personal databases)

stop a box from reaching a database

kvbox pg unlink <db> <box> [options]
ArgumentMeaning
<db>the database
<box>the box that was linked to it
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<code>the code, like KV-7F3K-9QXM-2HBD
OptionWhat it does
--org <slug>give the credit to this org, which you own; it cannot be moved later
--jsonprint as JSON

kvbox redis

managed Redis (Valkey): a Redis kvbox runs for you, private until you link a box or make it public

kvbox redis

kvbox redis backup

back up a database to the kvbox cloud, list backups, restore or remove one, or change its nightly schedule

kvbox redis backup

kvbox redis backup create

back up a database to the kvbox cloud (encrypted)

kvbox redis backup create <db> [options]
ArgumentMeaning
<db>its name
OptionWhat it does
--waitstay until the backup is ready (by default it runs in the background)
--jsonprint 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]
ArgumentMeaning
[db]its name (default: every database)
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<db>its name
<id>the backup's id (kvbox redis backup ls <db>)
OptionWhat it does
-y, --yesdo not ask for confirmation
--jsonprint 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]
ArgumentMeaning
<db>its name
<id>the backup's id (kvbox redis backup ls <db>)
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<db>its name
OptionWhat it does
--at <hour>back it up daily at this hour, 0-23 UTC (turns it on)
--offstop backing it up on its own
--onback it up on its own, at the hour it has
--jsonprint 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]
ArgumentMeaning
<name>its name (1-12 chars, lowercase letters, digits and '-'); a linked box reaches it at <name>.<account>.kvbox
OptionWhat 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)
--jsonprint 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]
ArgumentMeaning
<db>its name
<GB>the new size in GB, larger than what it has
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<db>its name
OptionWhat it does
--jsonprint as JSON
--org <slug>act in this org (- for your personal databases)

let a box reach a database privately

kvbox redis link <db> <box> [options]
ArgumentMeaning
<db>the database
<box>the box that connects to it
OptionWhat it does
--jsonprint as JSON
--org <slug>act in this org (- for your personal databases)

kvbox redis ls

list your Redis (Valkey) databases

kvbox redis ls [options]
OptionWhat it does
-a, --allevery one on the platform (platform admins only)
--jsonprint 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]
ArgumentMeaning
<db>its name
OptionWhat it does
--resetmake a new password; the old one stops working
--jsonprint 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]
ArgumentMeaning
<db>its name
<state>on: reachable from anywhere with the password; off: only linked boxes
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<db>its name
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<db>its name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<db>its name
OptionWhat it does
--jsonprint as JSON
--org <slug>act in this org (- for your personal databases)

stop a box from reaching a database

kvbox redis unlink <db> <box> [options]
ArgumentMeaning
<db>the database
<box>the box that was linked to it
OptionWhat it does
--jsonprint 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 registry

kvbox registry backup

back up your container registry to the kvbox cloud, list backups, restore or remove one

kvbox registry backup

kvbox registry backup create

back up your container registry (every image) to the kvbox cloud, encrypted

kvbox registry backup create [options]
OptionWhat it does
--waitstay until the backup is ready (by default it runs in the background)
--jsonprint 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]
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<id>the backup's id (kvbox registry backup ls)
OptionWhat it does
-y, --yesdo not ask for confirmation
--jsonprint 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]
ArgumentMeaning
<id>the backup's id (kvbox registry backup ls)
OptionWhat it does
-y, --yesdo 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]
OptionWhat it does
--at <hour>back it up daily at this hour, 0-23 UTC (turns it on)
--offstop backing it up on its own
--onback it up on its own, at the hour it has
--jsonprint 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]
OptionWhat 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)
--jsonprint 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]
ArgumentMeaning
<GB>the new size in GB, larger than what it has
OptionWhat it does
--jsonprint 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]
OptionWhat it does
--jsonprint 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]
OptionWhat it does
--resetmake a new password; the old one stops working
--jsonprint 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]
OptionWhat it does
-y, --yesdo 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 snapshots

kvbox snapshots ls

list snapshots (yours and your orgs'; --org <slug> for one org)

kvbox snapshots ls [options]
OptionWhat it does
-a, --allevery snapshot on the platform (platform admins only)
--jsonprint 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]
ArgumentMeaning
<box>box name
<name>snapshot name
OptionWhat it does
--replaceretake a snapshot that exists under this name; the old one stays until the new one is complete
--jsonprint 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]
ArgumentMeaning
<name>snapshot name
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
[box]only these boxes, added to the ones listed already (default: every box)
OptionWhat it does
--removetake 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)
--jsonprint the result as JSON

kvbox update

update kvbox to the latest version (reruns the installer from kvbox.sh, agent skill included)

kvbox update

kvbox 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]
OptionWhat 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, --allevery box on the platform (platform admins only)
--by-userone line per user who made the boxes (e.g. who spent what in --org)
--jsonprint as JSON

kvbox vm

manage boxes (each one is a Firecracker microVM)

kvbox vm

kvbox vm backup

back up a box's disk to the kvbox cloud, list backups, restore or remove one

kvbox vm backup

kvbox 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]
ArgumentMeaning
<box>box name
OptionWhat it does
--waitstay until the backup is ready (by default it runs in the background)
--jsonprint 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]
ArgumentMeaning
[box]box name (default: every box)
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<box>box name
<id>the backup's id (kvbox vm backup ls <box>)
OptionWhat it does
-y, --yesdo not ask for confirmation
--jsonprint 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]
ArgumentMeaning
<box>box name
<id>the backup's id (kvbox vm backup ls <box>)
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<box>box name
OptionWhat it does
--at <hour>back it up daily at this hour, 0-23 UTC (turns it on)
--offstop backing it up on its own
--onback it up on its own, at the hour it has
--jsonprint 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]
ArgumentMeaning
[name]box name (picked from a list when left out)
[cmd]command to run instead of a shell
OptionWhat it does
--directon 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]
ArgumentMeaning
<src>a local path, or <box>:<path>
<dest>a local path, or <box>:<path>
OptionWhat it does
-r, --recursivecopy directories
--directon 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]
ArgumentMeaning
<name>box name
<cmd>command, passed to the box's shell as one string (pipes, &&, cd work)
OptionWhat 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
--ttyallocate a pseudo-terminal (for interactive tools like htop)
--jsoncapture output and print {"output": "...", "exit_code": N}
--directon 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]
ArgumentMeaning
<box>the box to copy
[name]the copy's name (box1, box2, … when omitted)
OptionWhat 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)
--forceskip the capacity guard
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--jsonprint 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 hook

kvbox vm hook create

make a URL that wakes the box when called (a GitHub webhook, cron, any automation)

kvbox vm hook create <box> [options]
ArgumentMeaning
<box>box name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<box>box name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<box>box name
<id>the hook's id (kvbox vm hook ls <box>)
OptionWhat it does
-y, --yesdo not ask for confirmation
--jsonprint the removed hook as JSON
--org <slug>act in this org (- for your personal boxes)

let one box reach a port of another (private; never public)

kvbox vm link <from> <box> [options]
ArgumentMeaning
<from>the box that connects
<box>the box it may reach
OptionWhat it does
-p, --port <port>the port in <box>
--jsonprint the link as JSON
--org <slug>act in this org (- for your personal boxes)

list the links between boxes (kvbox vm link)

kvbox vm links [box] [options]
ArgumentMeaning
[box]only links into or out of this box
OptionWhat it does
--jsonprint 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]
OptionWhat it does
-a, --allevery box on the platform (platform admins only)
--jsonprint 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]
ArgumentMeaning
[name]box name (box1, box2, … when omitted)
OptionWhat 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)
--forceskip the capacity guard
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--jsonprint 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 proxy

kvbox 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]
ArgumentMeaning
<box>box name
<port>ports inside the box, e.g. 3000 8080
OptionWhat it does
--udpUDP 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)
--jsonprint 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]
ArgumentMeaning
[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)
OptionWhat it does
--port <port>the box port the address serves (asked for when left out)
--jsonprint 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]
ArgumentMeaning
[box]only this box
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<box>box name
OptionWhat it does
--sub <subdomain>which of the box's subdomains (needed when it has more than one)
-y, --yesdo 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]
ArgumentMeaning
<box>box name
[port]ports inside the box, as given to add
OptionWhat it does
--udpthe 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, --yesdo 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]
ArgumentMeaning
<box>box name
<port>the box port https://<subdomain>.kvbox.app serves from now on
OptionWhat it does
--sub <subdomain>which of the box's subdomains (needed when it has more than one)
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat 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)
--forceskip the capacity guard when a running box grows
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--since <when>how far back: 1h, 24h, 7d, or a date like 2026-11-19 (default 24h)
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--forceskip the capacity guard
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<name>box name
OptionWhat 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)
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--forceskip the capacity guard
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--jsonprint 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]
OptionWhat it does
-a, --allevery running box on the platform (platform admins only)
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat 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
--jsonprint as JSON
--org <slug>act in this org (- for your personal boxes)

take a link away (kvbox vm link)

kvbox vm unlink <from> <box> [options]
ArgumentMeaning
<from>the box that connects
<box>the box it reaches
OptionWhat it does
-p, --port <port>the port in <box>
-y, --yesdo not ask for confirmation
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--since <date>count from this date instead of the box's creation, e.g. 2026-10-01
--jsonprint 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]
ArgumentMeaning
<name>box name
OptionWhat it does
--forceskip the capacity guard
--jsonprint 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 volume

kvbox 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]
ArgumentMeaning
[volume]volume name (picked from a list when left out)
[box]box name (picked from a list when left out)
OptionWhat it does
--jsonprint 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 backup

kvbox volume backup create

back up a volume's disk to the kvbox cloud (encrypted)

kvbox volume backup create <volume> [options]
ArgumentMeaning
<volume>volume name
OptionWhat it does
--waitstay until the backup is ready (by default it runs in the background)
--jsonprint 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]
ArgumentMeaning
[volume]volume name (default: every volume)
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<volume>volume name
<id>the backup's id (kvbox volume backup ls <volume>)
OptionWhat it does
-y, --yesdo not ask for confirmation
--jsonprint 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]
ArgumentMeaning
<volume>volume name
<id>the backup's id (kvbox volume backup ls <volume>)
OptionWhat it does
-y, --yesdo 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]
ArgumentMeaning
<volume>volume name
OptionWhat it does
--at <hour>back it up daily at this hour, 0-23 UTC (turns it on)
--offstop backing it up on its own
--onback it up on its own, at the hour it has
--jsonprint 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]
ArgumentMeaning
[name]volume name (1-12 chars; the box mounts it at /mnt/<name>; asked for when left out)
OptionWhat 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)
--jsonprint 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]
ArgumentMeaning
[volume]volume name (picked from a list when left out)
[box]box name (the one the volume is on when left out)
OptionWhat it does
--jsonprint 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]
ArgumentMeaning
<volume>volume name
<GB>the new size in GB, larger than what it has
OptionWhat it does
--jsonprint 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]
OptionWhat it does
-a, --allevery volume on the platform (platform admins only)
--jsonprint 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]
ArgumentMeaning
<name>volume name
OptionWhat it does
-y, --yesdo 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]
OptionWhat it does
--jsonprint as JSON

On this page

kvbox bucketkvbox bucket backupkvbox bucket backup createkvbox bucket backup lskvbox bucket backup restorekvbox bucket backup rmkvbox bucket backup schedulekvbox bucket createkvbox bucket growkvbox bucket infokvbox bucket keykvbox bucket key createkvbox bucket key lskvbox bucket key rmkvbox bucket lskvbox bucket publickvbox bucket rmkvbox creditkvbox cronkvbox cron createkvbox cron infokvbox cron lskvbox cron rmkvbox cron triggerkvbox cron trigger addkvbox cron trigger lskvbox cron trigger pausekvbox cron trigger resumekvbox cron trigger rmkvbox cron trigger runkvbox cron trigger runskvbox deploykvbox domainkvbox domain addkvbox domain lskvbox domain rmkvbox envkvbox env lskvbox env rmkvbox env setkvbox integrationkvbox integration lskvbox k8skvbox k8s backupkvbox k8s backup createkvbox k8s backup lskvbox k8s backup restorekvbox k8s backup rmkvbox k8s backup schedulekvbox k8s createkvbox k8s domainkvbox k8s domain addkvbox k8s domain lskvbox k8s domain rmkvbox k8s infokvbox k8s kubeconfigkvbox k8s linkkvbox k8s linkskvbox k8s lskvbox k8s nodekvbox k8s node restartkvbox k8s poolkvbox k8s pool addkvbox k8s pool lskvbox k8s pool resizekvbox k8s pool rmkvbox k8s proxykvbox k8s proxy claimkvbox k8s proxy lskvbox k8s proxy releasekvbox k8s rmkvbox k8s rotatekvbox k8s startkvbox k8s unlinkkvbox keykvbox key createkvbox key lskvbox key rmkvbox locationkvbox location lskvbox location setkvbox location unsetkvbox loginkvbox logoutkvbox managedkvbox managed lskvbox orgkvbox org lskvbox org memberskvbox org members addkvbox org members lskvbox org members rmkvbox org newkvbox org rmkvbox org rolekvbox pgkvbox pg backupkvbox pg backup createkvbox pg backup lskvbox pg backup restorekvbox pg backup rmkvbox pg backup schedulekvbox pg createkvbox pg growkvbox pg infokvbox pg linkkvbox pg lskvbox pg passwordkvbox pg publickvbox pg rmkvbox pg startkvbox pg stopkvbox pg unlinkkvbox redeemkvbox rediskvbox redis backupkvbox redis backup createkvbox redis backup lskvbox redis backup restorekvbox redis backup rmkvbox redis backup schedulekvbox redis createkvbox redis growkvbox redis infokvbox redis linkkvbox redis lskvbox redis passwordkvbox redis publickvbox redis rmkvbox redis startkvbox redis stopkvbox redis unlinkkvbox registrykvbox registry backupkvbox registry backup createkvbox registry backup lskvbox registry backup restorekvbox registry backup rmkvbox registry backup schedulekvbox registry createkvbox registry growkvbox registry infokvbox registry passwordkvbox registry rmkvbox snapshotskvbox snapshots lskvbox snapshots newkvbox snapshots rmkvbox ssh-configkvbox updatekvbox usagekvbox vmkvbox vm backupkvbox vm backup createkvbox vm backup lskvbox vm backup restorekvbox vm backup rmkvbox vm backup schedulekvbox vm connectkvbox vm cpkvbox vm execkvbox vm forkkvbox vm getkvbox vm hibernatekvbox vm hookkvbox vm hook createkvbox vm hook lskvbox vm hook rmkvbox vm linkkvbox vm linkskvbox vm lskvbox vm newkvbox vm pausekvbox vm proxykvbox vm proxy addkvbox vm proxy claimkvbox vm proxy lskvbox vm proxy releasekvbox vm proxy rmkvbox vm proxy set-portkvbox vm rescalekvbox vm resourceskvbox vm restartkvbox vm resumekvbox vm rmkvbox vm setkvbox vm startkvbox vm stopkvbox vm topkvbox vm traffickvbox vm unlinkkvbox vm updatekvbox vm usagekvbox vm wakekvbox volumekvbox volume attachkvbox volume backupkvbox volume backup createkvbox volume backup lskvbox volume backup restorekvbox volume backup rmkvbox volume backup schedulekvbox volume createkvbox volume detachkvbox volume growkvbox volume lskvbox volume rmkvbox whoami