Deployment commands
These commands operate on both Jobs and Servers unless a provider limitation is noted.
anycloud status
anycloud status [id]
anycloud status <id> --watch
anycloud status <id> --json
| Option | Description |
|---|---|
--verbose | Show detailed events and error information |
-w, --watch | Poll until a terminal state |
--interval SECONDS | Watch interval; default 5, minimum 1 |
-p, --period WINDOW | Picker window, such as 7d or 24h |
-n, --limit COUNT | Picker limit; default 200, maximum 1,000 |
--json | Raw StatusResponse JSON |
JSON contains deployment, vms[], and events[]. With --watch --json,
stdout is newline-delimited JSON with one response per poll.
anycloud list
Alias: anycloud ls.
anycloud list [options]
| Option | Description |
|---|---|
-f, --filter TEXT | Substring over ID, image, cloud, region, state, session, or agent |
--status STATE | Exact state |
--credential NAME | One named credential |
--session ID | Session ID, prefix, label, or agent:hash |
--agent NAME | Agent name |
-p, --period WINDOW | Start-time window |
-n, --limit COUNT | Default 200, maximum 1,000 |
--json | Compact JSON array |
--csv | Header plus one row per deployment |
--only-ids | One deployment ID per line |
A bare interactive command opens a summary picker. Any filter or
machine-readable flag prints directly. Non-interactive agent invocations
default to their own detected session; an explicit --session or --agent
overrides that cooperative scope.
anycloud exec
anycloud exec [id] "<command>"
On VM-host providers, the command runs inside the workload container. On provider-run-image substrates, it runs in the provider-controlled execution environment over Anycloud's SSH transport.
anycloud logs
anycloud logs [id] [--follow]
| Option | Description |
|---|---|
-f, --follow | Stream until interrupted |
-w, --watch | Alias for --follow |
Provider-run-image deployments such as Vast do not currently expose container
logs through this command. Use exec to inspect a file when applicable.
anycloud ssh
anycloud ssh [id]
anycloud ssh <id> --vm
anycloud ssh <id> --snapshot
The default opens a shell inside the workload container. --vm opens a host
diagnostic shell. --snapshot commits an exited container and opens a shell in
the snapshot. Provider-run-image substrates do not currently support the
interactive SSH shell; use exec.
anycloud terminate
Terminate one or more deployments and clean up their cloud resources:
anycloud terminate [ids...]
With no ID in a terminal, choose deployments interactively.
anycloud resubmit
Put terminal deployments back in the queue with the same configuration:
anycloud resubmit [ids...]