2023-09-08 13:21:33 -05:00
|
|
|
coder v0.0.0-devel
|
2023-03-23 17:42:20 -05:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
USAGE:
|
2023-09-08 13:21:33 -05:00
|
|
|
coder [global-flags] <subcommand>
|
2022-11-04 19:48:36 +02:00
|
|
|
|
2023-09-08 13:21:33 -05:00
|
|
|
Coder v0.0.0-devel — 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
|
2022-11-04 19:48:36 +02:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
SUBCOMMANDS:
|
2023-11-02 14:41:34 -05:00
|
|
|
autoupdate Toggle auto-update policy for a workspace
|
2024-08-20 14:47:46 +10:00
|
|
|
completion Install or update shell completion scripts for the
|
|
|
|
|
detected or chosen shell.
|
2023-03-23 17:42:20 -05:00
|
|
|
config-ssh Add an SSH Host entry for your workspaces "ssh
|
|
|
|
|
coder.workspace"
|
|
|
|
|
create Create a workspace
|
|
|
|
|
delete Delete a workspace
|
|
|
|
|
dotfiles Personalize your workspace by applying a canonical
|
|
|
|
|
dotfiles repository
|
2023-10-09 18:04:35 -05:00
|
|
|
external-auth Manage external authentication
|
2024-01-24 14:05:39 +00:00
|
|
|
favorite Add a workspace to your favorites
|
2023-03-23 17:42:20 -05:00
|
|
|
list List workspaces
|
|
|
|
|
login Authenticate with Coder deployment
|
|
|
|
|
logout Unauthenticate your local session
|
2023-07-10 21:38:02 -05:00
|
|
|
netcheck Print network debug information for DERP and STUN
|
2024-07-11 15:22:20 +02:00
|
|
|
notifications Manage Coder notifications
|
2024-01-02 20:46:18 +02:00
|
|
|
open Open a workspace
|
2024-09-17 10:22:20 -05:00
|
|
|
organizations Organization related commands
|
2023-03-23 17:42:20 -05:00
|
|
|
ping Ping a workspace
|
2023-07-24 21:22:41 -05:00
|
|
|
port-forward Forward ports from a workspace to the local machine. For
|
2023-07-20 12:05:39 +02:00
|
|
|
reverse port forwarding, use "coder ssh -R".
|
2025-01-20 19:24:22 +02:00
|
|
|
provisioner View and manage provisioner daemons and jobs
|
2023-03-23 17:42:20 -05:00
|
|
|
publickey Output your Coder public key used for Git operations
|
|
|
|
|
rename Rename a workspace
|
|
|
|
|
reset-password Directly connect to the database to reset a user's
|
|
|
|
|
password
|
|
|
|
|
restart Restart a workspace
|
|
|
|
|
schedule Schedule automated start and stop times for workspaces
|
|
|
|
|
server Start a Coder server
|
|
|
|
|
show Display details of a workspace's resources and agents
|
|
|
|
|
speedtest Run upload and download tests from your machine to a
|
|
|
|
|
workspace
|
|
|
|
|
ssh Start a shell into a workspace
|
|
|
|
|
start Start a workspace
|
2023-06-20 10:16:57 +01:00
|
|
|
stat Show resource usage for the current workspace.
|
2023-03-23 17:42:20 -05:00
|
|
|
state Manually manage Terraform state to fix broken workspaces
|
|
|
|
|
stop Stop a workspace
|
2024-03-25 15:14:27 +00:00
|
|
|
support Commands for troubleshooting issues with a Coder
|
|
|
|
|
deployment.
|
2023-03-23 17:42:20 -05:00
|
|
|
templates Manage templates
|
|
|
|
|
tokens Manage personal access tokens
|
2024-01-24 14:05:39 +00:00
|
|
|
unfavorite Remove a workspace from your favorites
|
2023-03-23 17:42:20 -05:00
|
|
|
update Will update and start a given workspace if it is out of
|
|
|
|
|
date
|
|
|
|
|
users Manage users
|
|
|
|
|
version Show coder version
|
2024-07-09 23:53:11 +05:30
|
|
|
whoami Fetch authenticated user info for Coder deployment
|
2022-11-04 19:48:36 +02:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
GLOBAL OPTIONS:
|
2023-03-23 17:42:20 -05:00
|
|
|
Global options are applied to all commands. They can be set using environment
|
|
|
|
|
variables or flags.
|
2022-11-04 19:48:36 +02:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--debug-options bool
|
2023-04-07 17:58:21 -05:00
|
|
|
Print all options, how they're set, then exit.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--disable-direct-connections bool, $CODER_DISABLE_DIRECT_CONNECTIONS
|
2023-06-22 06:22:43 +10:00
|
|
|
Disable direct (P2P) connections to workspaces.
|
|
|
|
|
|
2024-07-03 15:23:46 +10:00
|
|
|
--disable-network-telemetry bool, $CODER_DISABLE_NETWORK_TELEMETRY
|
|
|
|
|
Disable network telemetry. Network telemetry is collected when
|
|
|
|
|
connecting to workspaces using the CLI, and is forwarded to the
|
|
|
|
|
server. If telemetry is also enabled on the server, it may be sent to
|
|
|
|
|
Coder. Network telemetry is used to measure network quality and detect
|
|
|
|
|
regressions.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--global-config string, $CODER_CONFIG_DIR (default: ~/.config/coderv2)
|
2023-03-23 17:42:20 -05:00
|
|
|
Path to the global `coder` config directory.
|
2022-11-04 19:48:36 +02:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--header string-array, $CODER_HEADER
|
2023-03-23 17:42:20 -05:00
|
|
|
Additional HTTP headers added to all requests. Provide as key=value.
|
|
|
|
|
Can be specified multiple times.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--header-command string, $CODER_HEADER_COMMAND
|
2023-08-14 12:12:17 -08:00
|
|
|
An external command that outputs additional HTTP headers added to all
|
|
|
|
|
requests. The command must output each header as `key=value` on its
|
|
|
|
|
own line.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--no-feature-warning bool, $CODER_NO_FEATURE_WARNING
|
2023-03-23 17:42:20 -05:00
|
|
|
Suppress warnings about unlicensed features.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--no-version-warning bool, $CODER_NO_VERSION_WARNING
|
2023-03-23 17:42:20 -05:00
|
|
|
Suppress warning when client and server versions do not match.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--token string, $CODER_SESSION_TOKEN
|
2023-03-23 17:42:20 -05:00
|
|
|
Specify an authentication token. For security reasons setting
|
|
|
|
|
CODER_SESSION_TOKEN is preferred.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--url url, $CODER_URL
|
2023-03-23 17:42:20 -05:00
|
|
|
URL to a deployment.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
-v, --verbose bool, $CODER_VERBOSE
|
2023-03-23 17:42:20 -05:00
|
|
|
Enable verbose output.
|
|
|
|
|
|
2023-09-08 13:21:33 -05:00
|
|
|
———
|
2023-03-23 17:42:20 -05:00
|
|
|
Report bugs and request features at https://github.com/coder/coder/issues/new
|