This command is marked as unstable and may change in future releases.
Command: phala cvms
Syntax
phala cvms <command> [options]
Description
Manage CVMs
Global Options
| Option | Description |
|---|
-h, --help | Show help information for the current command |
-v, --version | Show CLI version |
--api-token TOKEN, --api-key TOKEN | API token used for authentication |
-j, --json, --no-json | Output in JSON format |
--api-version <value> | API version to use (e.g. 2025-10-28, 2026-01-21) |
Subcommands
| Command | Description |
|---|
attestation | Get CVM attestation |
delete | Delete a CVM |
device-allowlist | Show device allowlist status for a CVM’s app |
get | Get details of a CVM |
list | (ls) List CVMs |
list-nodes | List worker nodes |
replicate | Create a replica of an existing CVM |
resize | Resize resources for a CVM |
restart | Restart a CVM |
start | Start a stopped CVM |
stop | Stop a running CVM |
Deprecated Subcommands
| Command | Description |
|---|
create | Create a new CVM (use “phala deploy” instead) |
logs | Fetch container logs from a CVM |
serial-logs | Fetch VM serial console logs from a CVM |
upgrade | Upgrade a CVM to a new version (use “phala deploy” instead) |
Examples