# rename

Rename a flexi instance in your project. This command allows you to rename a flexi instance.

## Usage

```
cldkctl flexi-intance rename [name] [new name] [flags]
```

## Aliases

```
rename, mv
```

## 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 rename [name] [new-name] 
```

2. Replace **\[name]** with the current instance name and **\[new-name]** with the new name for the instance.
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%2FbEvwryl2dflDGmLp51qt%2Fimage.png?alt=media&#x26;token=0f9f3385-cea9-4be9-8400-a2f529680bd0" alt=""><figcaption></figcaption></figure>

## Flags

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

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