Skip to main content

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:

CodeMeaningCommands
1A waited workload failedwait, and job/service/vm with --wait
2The wait could not observe a workloadwait, --wait
3The listing stopped at its limitbucket list
4The wait timed out; workloads keep runningwait, --wait
130Interrupted with Ctrl-CLong-running commands
TaskReference
Create and list finite Jobsjob
Create, list, or upgrade Servicesservice
Create and list persistent VMsvm
Create the cluster and its node poolscluster and node-pool; guide: Clusters
Create and manage Kubernetes Deploymentsdeployment
Inspect, wait on, and operate workloadsWorkload operations
Browse hardware and pricesCatalog and pricing
Inspect or request provider quotaquota
Manage object storagebucket
Manage cloud accountscredentials
Manage write-only valuessecrets
Inspect cost and configure capsSpend commands
Configure Slack notificationsnotifications
Manage the API, login, docs, and DBapi 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​

See cluster and 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.