# templates

Manage templates

Aliases:

* template

## Usage [#usage]

```console
coder templates
```

## Description [#description]

```console
Templates are written in standard Terraform and describe the infrastructure for workspaces
  - Create or push an update to the template. Your developers can update their
workspaces:

     $ coder templates push my-template
```

## Subcommands [#subcommands]

| Name                                                                  | Purpose                                                                          |
| --------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [<code>create</code>](/beta-docs/reference/cli/templates_create/)     | DEPRECATED: Create a template from the current directory or as specified by flag |
| [<code>edit</code>](/beta-docs/reference/cli/templates_edit/)         | Edit the metadata of a template by name.                                         |
| [<code>init</code>](/beta-docs/reference/cli/templates_init/)         | Get started with a templated template.                                           |
| [<code>list</code>](/beta-docs/reference/cli/templates_list/)         | List all the templates available for the organization                            |
| [<code>push</code>](/beta-docs/reference/cli/templates_push/)         | Create or update a template from the current directory or as specified by flag   |
| [<code>versions</code>](/beta-docs/reference/cli/templates_versions/) | Manage different versions of the specified template                              |
| [<code>presets</code>](/beta-docs/reference/cli/templates_presets/)   | Manage presets of the specified template                                         |
| [<code>delete</code>](/beta-docs/reference/cli/templates_delete/)     | Delete templates                                                                 |
| [<code>pull</code>](/beta-docs/reference/cli/templates_pull/)         | Download the active, latest, or specified version of a template to a path.       |
| [<code>archive</code>](/beta-docs/reference/cli/templates_archive/)   | Archive unused or failed template versions from a given template(s)              |
