{"version":"2.1.323","anchor":"claude-code-ccr-skip-needless-startup-reads-and-claude-code","canonical_anchor":"new-env-var-claude-code-automount-roots","heading":"New CLAUDE_CODE_AUTOMOUNT_ROOTS and CLAUDE_CODE_CCR_SKIP_NEEDLESS_STARTUP_READS variables","tier":"use","area":"Environment Variables","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/claude-code-ccr-skip-needless-startup-reads-and-claude-code","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### New CLAUDE_CODE_AUTOMOUNT_ROOTS and CLAUDE_CODE_CCR_SKIP_NEEDLESS_STARTUP_READS variables\n\nCLAUDE_CODE_AUTOMOUNT_ROOTS lists autofs roots for git and file checks, and CLAUDE_CODE_CCR_SKIP_NEEDLESS_STARTUP_READS skips reads after memory sync\n\n**What**\n\nTwo new environment variables, named settings given to Claude Code when it starts, appear in this build. Neither existed in the previous one.\n\n- `CLAUDE_CODE_AUTOMOUNT_ROOTS`: lists autofs map roots, folders that Linux mounts automatically when something looks inside them, that the git repository and file checks should treat specially. Claude Code also now detects these roots on its own on Linux and WSL. The variable joins a list of names beside `CLAUDE_CODE_YOU_SHOULD_KNOW_AUTO_SEND` and `CLAUDE_CODE_CUSTOM_OAUTH_URL`.\n\n- `CLAUDE_CODE_CCR_SKIP_NEEDLESS_STARTUP_READS`: skips unneeded reads after the memory store's first sync.\n\n- `ANTHROPIC_PROFILE` is also added to another list of variable names.\n\n**Why**\n\nThese look aimed at cloud and remote setups. If your machine uses autofs, Claude Code's git and file checks can now handle those auto-mounted folders specially, either from the roots it detects or the ones you list.\n\n- Area: Environment Variables\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}