# templates pull Download the active, latest, or specified version of a template to a path. ## Usage ```console coder templates pull [flags] [destination] ``` ## Options ### --tar | | | |------|-------------------| | Type | bool | Output the template as a tar archive to stdout. ### --zip | | | |------|-------------------| | Type | bool | Output the template as a zip archive to stdout. ### --version | | | |------|---------------------| | Type | string | 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 | | | |------|-------------------| | Type | bool | Bypass prompts. ### -O, --org | | | |-------------|----------------------------------| | Type | string | | Environment | $CODER_ORGANIZATION | Select which organization (uuid or name) to use.