# coder templates pull

Download the active, latest, or specified version of a template to a path.

## Usage

```console
coder templates pull [flags] <name> [destination]
```

## Options

### --tar

| Property | Value             |
| -------- | ----------------- |
| Type     | <code>bool</code> |

Output the template as a tar archive to stdout.

### --zip

| Property | Value             |
| -------- | ----------------- |
| Type     | <code>bool</code> |

Output the template as a zip archive to stdout.

### --version

| Property | Value               |
| -------- | ------------------- |
| Type     | <code>string</code> |

The name of the template version to pull. Use 'active' to pull the active version, 'latest' to pull the latest version, or the name of the template version to pull.

### -y, --yes

| Property | Value             |
| -------- | ----------------- |
| Type     | <code>bool</code> |

Bypass confirmation prompts.

### -O, --org

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

Select which organization (uuid or name) to use.
