2023-03-23 17:42:20 -05:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
# templates pull
2023-10-10 10:20:31 -05:00
Download the active, latest, or specified version of a template to a path.
2023-03-23 17:42:20 -05:00
## Usage
```console
coder templates pull [flags] <name> [destination]
```
## Options
### --tar
| | |
2025-01-03 18:12:59 +05:00
|------|-------------------|
2023-03-23 17:42:20 -05:00
| Type | <code>bool</code> |
Output the template as a tar archive to stdout.
2024-03-15 11:24:38 -05:00
### --zip
| | |
2025-01-03 18:12:59 +05:00
|------|-------------------|
2024-03-15 11:24:38 -05:00
| Type | <code>bool</code> |
Output the template as a zip archive to stdout.
2023-10-10 10:20:31 -05:00
### --version
| | |
2025-01-03 18:12:59 +05:00
|------|---------------------|
2023-10-10 10:20:31 -05:00
| 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.
2023-03-23 17:42:20 -05:00
### -y, --yes
| | |
2025-01-03 18:12:59 +05:00
|------|-------------------|
2023-03-23 17:42:20 -05:00
| Type | <code>bool</code> |
2026-01-16 18:04:57 -08:00
Bypass confirmation prompts.
2024-07-01 11:04:45 -10:00
### -O, --org
| | |
2025-01-03 18:12:59 +05:00
|-------------|----------------------------------|
2024-07-01 11:04:45 -10:00
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.