Install and authenticate
Install the CLI, then provide a short-lived, narrowly scoped API key through the environment. The GitHub source install is available immediately:PATH warning after a global install. Add its global bin directory to the current session, then run the command:
C:\Users\<you>\.bun\bin to your user Path environment variable and open a new terminal.
The CLI is distributed from GitHub. Do not use npm registry installation commands for this package; @kmerhosting/cli is not a published npm package. The installed command is kmerhosting.
Use --json for machine-readable output and --base-url only when KmerHosting support has given you a non-production endpoint.
Resource commands
lxc exposes inventory, metrics, power, snapshots, password rotation, reinstall, short-lived terminal tickets, auto-renew, and billing-period operations. kvm exposes inventory, power, credentials, renewal, cancellation/recovery, and the complete snapshot lifecycle for owned KVM services. The retired vps resource returns a migration message instead of guessing the product.
kmerhosting --help for the complete command list. For writes, --idempotency-key VALUE lets a retry reuse the same logical request. Destructive operations require --yes.

