> 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/guidance-for-enterprise/cloudeka-api-list/command-reference/cldkctl-flexi/instance/reboot.md).

# reboot

Reboot a flexi instance in your project. This command allows you to reboot a flexi instance. Available modes are soft and hard.

## Usage

```
cldkctl flexi instance reboot [mode] [name] [flags]
```

## Aliases

```
reboot, restart
```

## Steps

Follow the steps below to run and view the result of this command:

1. Run the following command in your terminal:

```
cldkctl flexi instance reboot [mode] [instance-name] 
```

2. Replace **\[mode]** with `soft` or `hard` and **\[instance-name]** with the name of the instance you want to reboot.
3. Once completed successfully, the terminal displays the success message.

<figure><img src="/files/FcNpDtA2nEOGLm2cPwvP" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag             | Shorthand | Description                  |
| ---------------- | --------- | ---------------------------- |
| --help           | -h        | Help for the reboot command. |
| --project string | -p        | Specify project ID.          |
