Files
coder/docs/reference/cli/templates.md
2025-01-03 13:12:59 +00:00

1.9 KiB
Generated

templates

Manage templates

Aliases:

  • template

Usage

coder templates

Description

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
create DEPRECATED: Create a template from the current directory or as specified by flag
edit Edit the metadata of a template by name.
init Get started with a templated template.
list List all the templates available for the organization
push Create or update a template from the current directory or as specified by flag
versions Manage different versions of the specified template
delete Delete templates
pull Download the active, latest, or specified version of a template to a path.
archive Archive unused or failed template versions from a given template(s)