Skip to main content
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

OptionDescription
-h, --helpShow help information for the current command
-v, --versionShow CLI version
--api-token TOKEN, --api-key TOKENAPI token used for authentication
-j, --json, --no-jsonOutput in JSON format
--api-version <value>API version to use (e.g. 2025-10-28, 2026-01-21)

Subcommands

CommandDescription
attestationGet CVM attestation
deleteDelete a CVM
device-allowlistShow device allowlist status for a CVM’s app
getGet details of a CVM
list(ls) List CVMs
list-nodesList worker nodes
replicateCreate a replica of an existing CVM
resizeResize resources for a CVM
restartRestart a CVM
startStart a stopped CVM
stopStop a running CVM

Deprecated Subcommands

CommandDescription
createCreate a new CVM (use “phala deploy” instead)
logsFetch container logs from a CVM
serial-logsFetch VM serial console logs from a CVM
upgradeUpgrade a CVM to a new version (use “phala deploy” instead)

Examples

  • Display help:
phala cvms --help