> 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/panduan-untuk-enterprise/cloudeka-api-list/command-reference/cldkctl-registry/label/create.md).

# create

The cldkctl registry label create command creates a new label in the container registry. Labels are used to categorize and manage artifacts within repositories, making it easier to organize, search, and retrieve them efficiently.

## Usage

```
cldkctl registry label create [flags]
```

## Steps

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

1. Ensure that you are logged in. Refer to the Registry Login section.
2. Specify a label name and description for the new label.
3. You may define a color in hexadecimal format to visually categorize the label.
4. Run the following command in your terminal:

```
cldkctl --registry [registry name] registry label create --name [label name] --description "[label description]"
```

5. Replace `[registry name]` with the target registry, `[label name]` with the desired label name, and `[label description]` with the description text.
6. Once successful, the terminal displays **"✓ Registry label created".**

<figure><img src="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-426083483d40f10de0a25bb72ade7849bf5ecb8d%2Funknown.png?alt=media" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag                     | Description                                 |
| ------------------------ | ------------------------------------------- |
| -c, --color string       | Hex color code for the label (optional).    |
| -d, --description string | Label description (required).               |
| -h, --help               | Help for the registry label create command. |
| -n, --name string        | Label name (required).                      |
