> ## 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 restart

> Restart a CVM

## Command: `phala cvms restart`

### Syntax

```
phala cvms restart [options] [<cvm_id>]
```

### Description

Restart a CVM

### Arguments

| Argument | Description |
| - | - |
| `<cvm_id>?` | CVM identifier (UUID, app\_id, instance\_id, or name) |

### 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 |
| `-i, --interactive` | Enable interactive mode |
| `--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

* By app\_id

```bash theme={"system"}
phala cvms restart app_123
```

* By UUID

```bash theme={"system"}
phala cvms restart 550e8400-e29b-41d4-a716-446655440000
```

* By name

```bash theme={"system"}
phala cvms restart my-app
```


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