# coder ## Usage ```console coder [global-flags] ``` ## Description ```console Coder — A tool for provisioning self-hosted development environments with Terraform. - Start a Coder server: $ coder server - Get started by creating a template from an example: $ coder templates init ``` ## Subcommands | Name | Purpose | | --------------------------------------------------- | ---------------------------------------------------------------------- | | [config-ssh](./cli/config-ssh) | Add an SSH Host entry for your workspaces "ssh coder.workspace" | | [create](./cli/create) | Create a workspace | | [delete](./cli/delete) | Delete a workspace | | [dotfiles](./cli/dotfiles) | Personalize your workspace by applying a canonical dotfiles repository | | [features](./cli/features) | List Enterprise features | | [groups](./cli/groups) | Manage groups | | [licenses](./cli/licenses) | Add, delete, and list licenses | | [list](./cli/list) | List workspaces | | [login](./cli/login) | Authenticate with Coder deployment | | [logout](./cli/logout) | Unauthenticate your local session | | [ping](./cli/ping) | Ping a workspace | | [port-forward](./cli/port-forward) | Forward ports from machine to a workspace | | [provisionerd](./cli/provisionerd) | Manage provisioner daemons | | [publickey](./cli/publickey) | Output your Coder public key used for Git operations | | [rename](./cli/rename) | Rename a workspace | | [reset-password](./cli/reset-password) | Directly connect to the database to reset a user's password | | [restart](./cli/restart) | Restart a workspace | | [scaletest](./cli/scaletest) | Run a scale test against the Coder API | | [schedule](./cli/schedule) | Schedule automated start and stop times for workspaces | | [server](./cli/server) | Start a Coder server | | [show](./cli/show) | Display details of a workspace's resources and agents | | [speedtest](./cli/speedtest) | Run upload and download tests from your machine to a workspace | | [ssh](./cli/ssh) | Start a shell into a workspace | | [start](./cli/start) | Start a workspace | | [state](./cli/state) | Manually manage Terraform state to fix broken workspaces | | [stop](./cli/stop) | Stop a workspace | | [templates](./cli/templates) | Manage templates | | [tokens](./cli/tokens) | Manage personal access tokens | | [update](./cli/update) | Will update and start a given workspace if it is out of date | | [users](./cli/users) | Manage users | | [version](./cli/version) | Show coder version | ## Options ### --global-config | | | | ----------- | ------------------------------ | | Type | string | | Environment | $CODER_CONFIG_DIR | | Default | ~/.config/coderv2 | Path to the global `coder` config directory. ### --header | | | | ----------- | -------------------------- | | Type | string-array | | Environment | $CODER_HEADER | Additional HTTP headers added to all requests. Provide as key=value. Can be specified multiple times. ### --no-feature-warning | | | | ----------- | -------------------------------------- | | Type | bool | | Environment | $CODER_NO_FEATURE_WARNING | Suppress warnings about unlicensed features. ### --no-version-warning | | | | ----------- | -------------------------------------- | | Type | bool | | Environment | $CODER_NO_VERSION_WARNING | Suppress warning when client and server versions do not match. ### --token | | | | ----------- | --------------------------------- | | Type | string | | Environment | $CODER_SESSION_TOKEN | Specify an authentication token. For security reasons setting CODER_SESSION_TOKEN is preferred. ### --url | | | | ----------- | ----------------------- | | Type | url | | Environment | $CODER_URL | URL to a deployment. ### -v, --verbose | | | | ----------- | --------------------------- | | Type | bool | | Environment | $CODER_VERBOSE | Enable verbose output.