Install
Install the kvbox CLI on your laptop and log in.
The CLI runs on Linux, macOS and Windows and needs Node 22 or newer. On Linux, macOS and Git Bash on Windows:
curl -fsSL https://kvbox.cloud/install.sh | bashIn Windows PowerShell:
irm https://kvbox.cloud/install.ps1 | iexBoth are npm install -g @kvbox/cli with the prerequisites checked first. Run the npm command directly if you prefer:
npm install -g @kvbox/cliTo upgrade later, run kvbox update: it reruns the installer for you (and refreshes the agent skill if you installed it). Rerunning the curl line does the same. kvbox --version prints what you have. Once a day the CLI asks npm for the latest version and, when there is a newer one, says so after the command and suggests kvbox update; set KVBOX_NO_UPDATE_CHECK=1 to turn that off (it is already off in CI and when output is not a terminal).
Log in
kvbox login
kvbox whoamikvbox login prints a link and a short code. Open the link, sign in to the web app if you are not already, check that the code and the machine are yours, and press Approve: the terminal is logged in a few seconds later, and no password is typed in it. The code is good for 10 minutes and works once, and the command needs no terminal of its own, so it also works over ssh. For your own control plane pass its URL (kvbox login https://cp.example.com); one without a web app logs in with email and password instead, kvbox login --password. Either way it stores a token under ~/.kvbox/cli.json and uploads the SSH key it generates under ~/.kvbox/ssh, so new boxes let you in. From then on every command talks to the control plane. kvbox logout goes back to the server on this machine, and --local does that for one command.
For scripts and CI, make an API key and set it as KVBOX_TOKEN: the CLI uses it without a login. kvbox login -e you@example.com --password-stdin logs in with a password read from stdin.
A new account starts inactive: it can log in and look, but every other command answers "your account is not active yet" until a payment method is on file or the operator activates it. Admins are never gated.
Running boxes on your own machine
The CLI alone runs nothing. Boxes run on a host: a Linux machine with KVM that runs kvbox-server. Install a server on one, or log in and use hosts that joined a control plane.