CLAUDE_CODE_DIR_SYNC_STREAM
Updated by Alex Sorokoletov
CLAUDE_CODE_DIR_SYNC_STREAM is a Claude Code environment variable. Removed in v2.1.285, so current releases ignore it. It is not in the official reference.
| Status | Removed in v2.1.285 |
|---|---|
| Added | Added between v2.1.247 and v2.1.252 |
| Category | Network and proxy |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_DIR_SYNC_STREAM=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_DIR_SYNC_STREAM": "<value>"
}
}Related variables
CLAUDE_BYTE_STREAM_IDLE_TIMEOUT_MSCLAUDE_CODE_DISABLE_MEMORY_STREAM_LIST: Turns off the incremental metadata-streaming path inside multi-store memory sync.CLAUDE_CODE_STREAM_EVENT_NO_SUBSCRIBER_HOLD_MS: Milliseconds to hold a stream event when nothing is subscribed; used only when CLAUDE_CODE_STREAM_EVENT_HOLD_MS is also set.CLAUDE_CODE_STREAM_TIMER_SLACK_MS: Sets the stream timer slack in milliseconds as an integer from 0 to 1000; values outside that range become 0, and when unset the default comes from a server-side setting.CLAUDE_CODE_SYNC_PLUGIN_INSTALL_TIMEOUT_MS: Timeout for synchronous plugin install.CLAUDE_CODE_SYNC_PLUGINS_INSTALL_TIMEOUT_MS: Timeout in milliseconds for installing a synced plugin; defaults to 30000.CLAUDE_CODE_SYNC_PLUGINS_MCP_TIMEOUT_MS: Timeout in milliseconds for a synced plugin's MCP connection; defaults to 10000.CLAUDE_CODE_SYNC_SKILLS_INSTALL_TIMEOUT_MS
Frequently asked questions
Which Claude Code version has CLAUDE_CODE_DIR_SYNC_STREAM?
Removed in v2.1.285, so current releases ignore it.
How do I set CLAUDE_CODE_DIR_SYNC_STREAM?
Export it before starting Claude Code (export CLAUDE_CODE_DIR_SYNC_STREAM=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.