---
title: "ktm variables variants rename"
description: "Renommer un variant dans un groupe de manière atomique"
sidebarTitle: "rename"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

Renommer un variant dans un groupe de manière atomique

## Utilisation

```bash
ktm variables variants rename <group-id> <variant-id> [flags]
```

## Exemples

```bash
ktm variables variants rename 42 7 --name production
```

## Arguments

| Argument | Requis |
| --- | --- |
| `group-id` | Oui |
| `variant-id` | Oui |

## Flags

| Flag | Type | Défaut | Description |
| --- | --- | --- | --- |
| `--name` | string |  | Nouveau nom du variant (requis) |

## Voir aussi

- [`ktm variables variants`](/fr/cli/commands/variables/variants)

<Note>
  Les flags globaux (`--output`, `--debug`, `--host`, ...) s'appliquent à toutes les commandes. Consultez la [vue d'ensemble de la référence des commandes](/fr/cli/commands/overview).
</Note>

## Et ensuite ?

<Columns cols={2}>
  <Card title="Toutes les commandes" icon="terminal" href="/fr/cli/commands/overview">
    Parcourir la référence complète du CLI.
  </Card>
  <Card title="Démarrage" icon="rocket" href="/fr/cli/getting-started">
    Installer le CLI et s'authentifier.
  </Card>
</Columns>
