# coder templates pull

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

## Usage [#usage]

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

## Options [#options]

### --tar [#--tar]

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

Output the template as a tar archive to stdout.

### --zip [#--zip]

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

Output the template as a zip archive to stdout.

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

|      |                     |
| ---- | ------------------- |
| 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 [#-y---yes]

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

Bypass confirmation prompts.

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

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

Select which organization (uuid or name) to use.
