> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-vm.md).

# cldkctl vm

The vm command allows you to manage virtual machines (VMs) within your Cloudeka cluster. You can create, edit, delete, start, stop, reboot, and monitor VMs to ensure optimal resource allocation and performance across your environment. This command is particularly useful for DevOps engineers or administrators managing compute workloads and infrastructure through the Cloudeka CLI.

## Usage

```
cldkctl vm [flags]
cldkctl vm [command]
```

## Available commands

| Command | Description                                                                   |
| ------- | ----------------------------------------------------------------------------- |
| create  | Create a new virtual machine                                                  |
| delete  | Delete an existing virtual machine                                            |
| detail  | Display detailed information about a specific virtual machine                 |
| edit    | Modify virtual machine settings such as CPU, memory, or network configuration |
| list    | List all virtual machines within the project                                  |
| reboot  | Reboot a running virtual machine                                              |
| start   | Start a virtual machine                                                       |
| stop    | Stop a running virtual machine                                                |

## Flags

{% hint style="info" %}
This command supports [global flags](/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details
{% endhint %}

| Flag       | Description              |
| ---------- | ------------------------ |
| -h, --help | Help for the vm command. |
