Skip to content
BENIBIX Learn

CLAUDE_CODE_DISABLE_ARTIFACT

AI⌨️ Claude CodeConfiguration

Also known as CLAUDE_CODE_DISABLE_ARTIFACT=1

Set to 1, it turns off the tool that posts web pages.

Think of it like

It is like you take the printer away. Then nothing goes up on the wall.

Example

Jack's firm does not allow work to leave its laptops as web pages. He sets this, so the tool is gone for good.

Why it matters

Posting a page sends content off the machine. Some rules forbid that.

Definition

CLAUDE_CODE_DISABLE_ARTIFACT set to 1 turns off the Artifact tool. That tool posts your work as a private web page on claude.ai. Once this is set, no settings file can turn the tool back on. To turn it off from a settings file, set enableArtifact to false.

Example code

bash
export CLAUDE_CODE_DISABLE_ARTIFACT=1
claude
Keep all output on this machine.

Common mistake

Trying to turn it back on in a settings file. While this is set, nothing can.

Key takeaways

  1. 1
    Artifact tool off. No pages.
  2. 2
    Settings cannot undo it. While set.
  3. 3
    Or the setting. enableArtifact false.