Reference
Command Line
Home
/
Reference
/
Command Line
/
templates pull

templates pull

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

Usage

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

Options

--tar

Typebool

Output the template as a tar archive to stdout.

--zip

Typebool

Output the template as a zip archive to stdout.

--version

Typestring

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

Typebool

Bypass prompts.

-O, --org

Typestring
Environment$CODER_ORGANIZATION

Select which organization (uuid or name) to use.

See an opportunity to improve our docs? Make an edit.
On this page