Civo CLI
$ civo Official High RiskCivo CLI (civo) manages Civo Cloud K3s Kubernetes clusters, compute instances, volumes, firewalls, and DNS. Built-in -o json, -o custom -f field projection, --pretty, and --yes non-interactive confirmation make it well-suited for agent automation.
brew install civo/tools/civo civo offers -o json and -o custom --fields directly against Civo APIs with zero MCP schema bloat.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports -o json across list/show commands, -o custom --fields column filtering, --yes non-interactive confirmation, and CIVO_API_KEY env auth.
- Global
-o jsonand-o custom -ffield filtering - Supports
CIVO_API_KEYenv var and--yesflag
Destructive rm subcommands require interactive confirmation unless --yes is passed, though creating/deleting clusters affects billing and workloads.
- Confirmation prompt guards
rmunless--yesis explicitly supplied
Single static Go binary available via Homebrew tap (civo/tools/civo) and GitHub Releases on macOS, Linux, and Windows.
- Static Go executable via
brew install civo/tools/civo
Fast, unified control plane for Civo K3s clusters, kubeconfigs, instances, and networking.
- Direct
civo k3s config --saveintegration withkubectl
Official Civo CLI (civo/cli) under Apache-2.0 license.
- Official
civo/clirepository under Apache-2.0
Clear Civo docs and Cobra --help hierarchy.
- Official Civo CLI documentation and
--help
Security, Auth & Guardrails
Stores API keys and region defaults in ~/.civo.json, or accepts CIVO_API_KEY / CIVO_REGION for headless automation.
Apache-2.0 open-source CLI; creating K3s clusters, VMs, or load balancers incurs Civo Cloud charges.
# Civo CLI Agent Rules - Always pass `-o json` (or `-o custom --fields ...`) and `--region` on read queries. - Never pass `--yes` on `civo k3s rm`, `civo instance rm`, or `civo volume rm` without explicit user confirmation. - Prefer `CIVO_API_KEY` scoped per environment.
Agent-Ready Command Recipes
Safe Read-Only Queries
civo k3s ls -o json
Returns cluster IDs, node counts, versions, and status in structured JSON.
civo instance ls -o custom --fields "ID,Hostname,PublicIP,Status"
Projects only essential columns to keep stdout concise.
Controlled Writes & Previews
civo k3s config my-cluster --save --switch
Fetches and merges the cluster's kubeconfig context into ~/.kube/config.
Strengths for Agents
- + Both
-o jsonand-o custom --fieldsreduce output noise cleanly. - + Simple API key authentication via
CIVO_API_KEYworks in any headless sandbox. - + Interactive delete confirmation protects against accidental
--yes-less destruction.
Caveats & Pitfalls
- ! No universal
--dry-runflag before creating or resizing clusters/instances. - !
~/.civo.jsonstores API keys in plaintext if initialized viacivo apikey save.