# coder templates versions promote

Promote a template version to active.

## Usage [#usage]

```console
coder templates versions promote [flags] --template=<template_name> --template-version=<template_version_name>
```

## Description [#description]

```console
Promote an existing template version to be the active version for the specified template.
```

## Options [#options]

### -t, --template [#-t---template]

|             |                                     |
| ----------- | ----------------------------------- |
| Type        | <code>string</code>                 |
| Environment | <code>$CODER\_TEMPLATE\_NAME</code> |

Specify the template name.

### --template-version [#--template-version]

|             |                                              |
| ----------- | -------------------------------------------- |
| Type        | <code>string</code>                          |
| Environment | <code>$CODER\_TEMPLATE\_VERSION\_NAME</code> |

Specify the template version name to promote.

### -O, --org [#-o---org]

|             |                                   |
| ----------- | --------------------------------- |
| Type        | <code>string</code>               |
| Environment | <code>$CODER\_ORGANIZATION</code> |

Select which organization (uuid or name) to use.
