> ## Documentation Index
> Fetch the complete documentation index at: https://docs.phala.com/llms.txt
> Use this file to discover all available pages before exploring further.

# cvms

> Manage CVMs

> [!NOTE]
>
> 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. 2026-01-21, 2026-05-22, 2026-06-23) |
| `--timeout SECONDS` | Request timeout in seconds (default 60) |

#### Examples

* Display help:

```bash theme={"system"}
phala cvms --help
```

### 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 |
| `init-scripts` | Show or change the platform init scripts a CVM runs |
| `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 |
| - | - |
| `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) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.