⌨️CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC
Also known as CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
Any value cuts each call Claude Code can do without.
Think of it like
It is like you unplug all the gadgets in the house. Only the fridge stays on.
Example
Jack's firewall allows only the model's address. Every other call failed slowly. He sets this, and Claude Code stops trying them.
Why it matters
On a locked network, it ends slow failed calls. It is also the one switch for a strict privacy rule.
Definition
Example code
bash
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
claudeCommon mistake
Key takeaways
- 1One switch for all. Updates, telemetry, reports.
- 2Model calls stay. Essential.
- 3Some features stop. Remote Control.