> 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-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="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fgit-blob-319f79bb416a18fc8c2a77288a63e80e6003feff%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## 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             | Shorthand | Description                  |
| ---------------- | --------- | ---------------------------- |
| --help           | -h        | Help for the reboot command. |
| --project string | -p        | Specify project ID.          |
