# coder
Coder — A tool for provisioning self-hosted development environments with Terraform.
## Usage
```console
coder [flags]
```
## Examples
```console
- Start a Coder server:
$ coder server
- Get started by creating a template from an example:
$ coder templates init
```
## Subcommands
| Name | Purpose |
| --------------------------------------------------------- | --------------------------------------------------------------- |
| [config-ssh
](./cli/coder_config-ssh) | Add an SSH Host entry for your workspaces "ssh coder.workspace" |
| [create
](./cli/coder_create) | Create a workspace |
| [delete
](./cli/coder_delete) | Delete a workspace |
| [dotfiles
](./cli/coder_dotfiles) | Checkout and install a dotfiles repository from a Git URL |
| [list
](./cli/coder_list) | List workspaces |
| [login
](./cli/coder_login) | Authenticate with Coder deployment |
| [logout
](./cli/coder_logout) | Unauthenticate your local session |
| [ping
](./cli/coder_ping) | Ping a workspace |
| [port-forward
](./cli/coder_port-forward) | Forward ports from machine to a workspace |
| [publickey
](./cli/coder_publickey) | Output your Coder public key used for Git operations |
| [rename
](./cli/coder_rename) | Rename a workspace |
| [reset-password
](./cli/coder_reset-password) | Directly connect to the database to reset a user's password |
| [restart
](./cli/coder_restart) | Restart a workspace |
| [scaletest
](./cli/coder_scaletest) | Run a scale test against the Coder API |
| [schedule
](./cli/coder_schedule) | Schedule automated start and stop times for workspaces |
| [server
](./cli/coder_server) | Start a Coder server |
| [show
](./cli/coder_show) | Display details of a workspace's resources and agents |
| [speedtest
](./cli/coder_speedtest) | Run upload and download tests from your machine to a workspace |
| [ssh
](./cli/coder_ssh) | Start a shell into a workspace |
| [start
](./cli/coder_start) | Start a workspace |
| [state
](./cli/coder_state) | Manually manage Terraform state to fix broken workspaces |
| [stop
](./cli/coder_stop) | Stop a workspace |
| [templates
](./cli/coder_templates) | Manage templates |
| [tokens
](./cli/coder_tokens) | Manage personal access tokens |
| [update
](./cli/coder_update) | Will update and start a given workspace if it is out of date. |
| [users
](./cli/coder_users) | Manage users |
| [version
](./cli/coder_version) | Show coder version |