Skip to main content

CLI · vpsctl

vpsctl is a single static Go binary that wraps every endpoint in the API. Auth tokens are stored in your OS keychain (macOS Keychain / Windows Credential Manager / Linux libsecret), so you never have to put them in shell history or env files.

Coming soon — repo: github.com/vps-serverhost/vpsctl

Install (preview)​

# macOS / Linux via Homebrew
brew install vps-serverhost/tap/vpsctl

# Linux via apt / dnf
curl -sSL https://get.vps-server.host | sh

# Scoop on Windows
scoop bucket add vpsh https://github.com/vps-serverhost/scoop-bucket
scoop install vpsctl

Login​

vpsctl auth login # prompts for PAT; stored in keychain
vpsctl auth whoami # prints account id + token prefix

Sample commands​

vpsctl servers list
vpsctl servers reboot srv_42 --wait
vpsctl ptr set srv_42 dnsp_… web-01.example.com

vpsctl invoices list --status unpaid
vpsctl invoices pay inv_42 --method pm_default

vpsctl tickets open --dept support --subject "Need help" --message @body.md

--output json|yaml|table lets you pipe to jq or read in a terminal. Use --profile staging to switch accounts.