CLI Reference
Use this index to choose a command group. Each child page contains exact syntax, options, defaults, and machine-readable output behavior.
Commands that take a workload ID (status, exec, logs, ssh,
terminate, and resubmit) let you omit it in an interactive terminal and
pick a recent workload. In CI or a pipe, pass the ID or set
ANYCLOUD_WORKLOAD_ID.
Commands that render tables generally accept --json. Human prompts and
progress go to stderr so structured stdout stays pipeable.
Commands exit 0 on success and 1 on failure. Some commands also use these
codes, which scripts can rely on:
| Code | Meaning | Commands |
|---|---|---|
1 | A waited workload failed | wait, and job/service/vm with --wait |
2 | The wait could not observe a workload | wait, --wait |
3 | The listing stopped at its limit | bucket list |
4 | The wait timed out; workloads keep running | wait, --wait |
130 | Interrupted with Ctrl-C | Long-running commands |
| Task | Reference |
|---|---|
| Create and list finite Jobs | job |
| Create, list, or upgrade Services | service |
| Create and list persistent VMs | vm |
| Create the cluster and its node pools | cluster and node-pool; guide: Clusters |
| Create and manage Kubernetes Deployments | deployment |
| Inspect, wait on, and operate workloads | Workload operations |
| Browse hardware and prices | Catalog and pricing |
| Inspect or request provider quota | quota |
| Manage object storage | bucket |
| Manage cloud accounts | credentials |
| Manage write-only values | secrets |
| Inspect cost and configure caps | Spend commands |
| Configure Slack notifications | notifications |
| Manage the API, login, docs, and DB | api and utilities |
Use anycloud job list, anycloud service list, or anycloud vm list for
one workload type. Each accepts ls as an alias. anycloud list shows
the combined overview. Filter Deployments by node pool with
anycloud deployment list --node-pool <id-or-name> and Jobs by Deployment with
anycloud job list --deployment <id>.
Put listing options after list or ls. Those bare names are reserved as
subcommands. To launch an image named list or ls, include a tag such as
list:latest.
The headings below preserve links to sections in the former single-page CLI reference.
anycloud job
See job.
anycloud service
See service.
anycloud vm
See vm.
anycloud cluster and anycloud node-pool
anycloud deployment
See deployment.
anycloud images
See Catalog and pricing.
anycloud status
See Workload operations.
anycloud wait
See Workload operations.
anycloud list
See Workload operations.
anycloud exec
See Workload operations.
anycloud logs
See Workload operations.
anycloud ssh
See Workload operations.
anycloud terminate
See Workload operations.
anycloud resubmit
See Workload operations.
anycloud cost
See Spend commands.
anycloud throttle
See Spend commands.
anycloud budget
See Spend commands.
anycloud spend
See Spend commands.
anycloud db query
See api and utilities.
anycloud db schema
See api and utilities.
anycloud docs
See api and utilities.
anycloud regions
See Catalog and pricing.
anycloud vm-types
See Catalog and pricing.
anycloud gpus
See Catalog and pricing.
anycloud pricing
See Catalog and pricing.
anycloud bucket
See bucket.
anycloud credentials
See credentials.
anycloud secrets
See secrets.
anycloud notifications
See notifications.
anycloud api
See api and utilities.
anycloud login
See api and utilities.
anycloud update
See api and utilities.
anycloud quota status
See quota.