Documentation menu: xverctl CLI
Commands and safety
Complete xverctl command tree, dry-run cost checks, delete confirmations, and waiting on async operations
xverctl commands are grouped by resource. Servers, volumes, SSH keys, and projects can be addressed by either UUID or name. If a name matches more than one resource, xverctl exits with code 2 and lists the matching IDs.
Command tree#
xverctl
├─ auth login [--with-token] | logout | status
├─ profile list | use | delete
├─ project list | get | use
├─ server list | get | create | start | shutdown (stop) | reboot | rename | resize | resize-options
│ | delete | protect on | password
├─ volume list | get | create | rename | resize | attach | detach | delete
├─ backup list --server X | get | create --server X | restore | delete | policy get|set --server X
├─ ssh-key list | get | add --name N --file ~/.ssh/id_ed25519.pub | delete
├─ operation list | get | wait
├─ audit list
├─ token show
├─ plan list · image list · pricing · balance
├─ api <METHOD> <path> [-f k=v] [-F k=v] [--input file]
├─ mcp [--allow-write] [--allow-delete] [--toolsets servers,volumes,...]
├─ skill install [--dir DIR]
├─ agents [--json] [--full]
└─ completion bash|zsh|fish|powershell · version [--check] · help [--json] · help agentsActions that cost money or delete data#
--dry-runvalidates permissions, quotas, and shows the exact price without creating or changing anything.- Every
deletecommand andbackup restoreasks you to type the resource name.server shutdown,reboot, andresizeprompt yes/no after showing the name, ID, project, price, and impact. Pass--yesto skip the prompt. - Without a TTY and without
--yes, destructive commands stop immediately with exit code6and send nothing. - Deleting a server deletes all of its backups.
- A server with termination protection (
xverctl server protect on) cannot be deleted or restored; protection can only be disabled manually in the web console.
Operations and idempotent retries#
Creating, starting, resizing, and deleting run asynchronously and return an operation (see Operations).
xverctl server create --hostname api-01 --plan g-2vcpu-8gb --image ubuntu-24-04-lts --wait --timeout 15m
xverctl operation wait <operation-id>Every write command attaches an Idempotency-Key automatically (or set your own with --idempotency-key, such as "$CI_JOB_ID-api-01" in CI) so retries never create duplicate resources.
Call any endpoint directly with xverctl api#
To call any endpoint from the XVer API Reference using your active profile token:
xverctl api GET /servers
xverctl api POST /servers -f hostname=web-01 -f plan=g-2vcpu-8gb -f image=ubuntu-24-04-lts