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 for authenticating with Phala Cloud |
-j, --json, --no-json | Output in JSON format |
--interactive | Enable interactive mode for commands that support it |
--cvm-id <value> | CVM identifier (UUID, app_id, instance_id, or name) |
--profile PROFILE | Temporarily use a different auth profile for this command |
--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 | 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