Skip to content
BENIBIX Learn

FORCE_HYPERLINK

AI⌨️ Claude CodeConfiguration

Also known as FORCE_HYPERLINK=1

Set to 1, it turns on links you can click in the terminal.

Think of it like

It is like you tell a printer your paper takes color. It cannot tell on its own.

Example

Jack's terminal supports links, but Claude Code showed them as plain text. He sets this, and he can click them.

Why it matters

Clicking a link is faster than copying it. Detection misses some terminals.

Definition

FORCE_HYPERLINK set to 1 turns on links you can click in the terminal. Use it when your terminal supports them but Claude Code did not notice. Set it to 0, false, no or off to show every link as plain text. A few links, such as sign-in addresses, are links either way.

Example code

bash
export FORCE_HYPERLINK=1
claude
Click links in a terminal Claude Code did not detect.

Common mistake

Setting it in a terminal that has no link support. You then see odd codes in the text.

Key takeaways

  1. 1
    1 turns links on. When not detected.
  2. 2
    0, false, no, off. Plain text.
  3. 3
    Some always links. Sign-in addresses.