diff --git a/cli/root.go b/cli/root.go
index 816d7b769e..5e7b7fce69 100644
--- a/cli/root.go
+++ b/cli/root.go
@@ -433,7 +433,7 @@ func (r *RootCmd) Command(subcommands []*serpent.Command) (*serpent.Command, err
{
Flag: varForceTty,
Env: "CODER_FORCE_TTY",
- Hidden: true,
+ Hidden: false,
Description: "Force the use of a TTY.",
Value: serpent.BoolOf(&r.forceTTY),
Group: globalGroup,
diff --git a/cli/testdata/coder_--help.golden b/cli/testdata/coder_--help.golden
index 4e0a5e92f6..5a3ad462cd 100644
--- a/cli/testdata/coder_--help.golden
+++ b/cli/testdata/coder_--help.golden
@@ -79,6 +79,9 @@ variables or flags.
Coder. Network telemetry is used to measure network quality and detect
regressions.
+ --force-tty bool, $CODER_FORCE_TTY
+ Force the use of a TTY.
+
--global-config string, $CODER_CONFIG_DIR (default: ~/.config/coderv2)
Path to the global `coder` config directory.
diff --git a/docs/reference/cli/index.md b/docs/reference/cli/index.md
index 9ad8f5590e..1803fd460c 100644
--- a/docs/reference/cli/index.md
+++ b/docs/reference/cli/index.md
@@ -131,6 +131,15 @@ Additional HTTP headers added to all requests. Provide as key=value. Can be spec
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.
+### --force-tty
+
+| | |
+|-------------|-------------------------------|
+| Type | bool
|
+| Environment | $CODER_FORCE_TTY
|
+
+Force the use of a TTY.
+
### -v, --verbose
| | |
diff --git a/enterprise/cli/testdata/coder_--help.golden b/enterprise/cli/testdata/coder_--help.golden
index ca5d8c8c88..1522921a3e 100644
--- a/enterprise/cli/testdata/coder_--help.golden
+++ b/enterprise/cli/testdata/coder_--help.golden
@@ -37,6 +37,9 @@ variables or flags.
Coder. Network telemetry is used to measure network quality and detect
regressions.
+ --force-tty bool, $CODER_FORCE_TTY
+ Force the use of a TTY.
+
--global-config string, $CODER_CONFIG_DIR (default: ~/.config/coderv2)
Path to the global `coder` config directory.