2026-09-28 15:44:10 -04:00
|
|
|
---
|
|
|
|
|
# Code generated by make gen. DO NOT EDIT.
|
|
|
|
|
title: "`coder templates`"
|
2026-10-20 18:51:44 -04:00
|
|
|
description: Manage templates.
|
2026-09-28 15:44:10 -04:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
|
|
|
|
|
|
Manage templates
|
|
|
|
|
|
|
|
|
|
Aliases:
|
|
|
|
|
|
|
|
|
|
* template
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
|
coder templates
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 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
|
|
|
|
|
|
|
|
|
|
| Name | Purpose |
|
|
|
|
|
|----------------------------------------------|----------------------------------------------------------------------------------|
|
|
|
|
|
| [<code>create</code>](./create.md) | DEPRECATED: Create a template from the current directory or as specified by flag |
|
|
|
|
|
| [<code>edit</code>](./edit.md) | Edit the metadata of a template by name. |
|
|
|
|
|
| [<code>init</code>](./init.md) | Get started with a templated template. |
|
|
|
|
|
| [<code>list</code>](./list.md) | List all the templates available for the organization |
|
|
|
|
|
| [<code>push</code>](./push.md) | Create or update a template from the current directory or as specified by flag |
|
|
|
|
|
| [<code>versions</code>](./versions/index.md) | Manage different versions of the specified template |
|
|
|
|
|
| [<code>presets</code>](./presets/index.md) | Manage presets of the specified template |
|
|
|
|
|
| [<code>delete</code>](./delete.md) | Delete templates |
|
|
|
|
|
| [<code>pull</code>](./pull.md) | Download the active, latest, or specified version of a template to a path. |
|
|
|
|
|
| [<code>archive</code>](./archive.md) | Archive unused or failed template versions from a given template(s) |
|