{"version":"2.1.324","anchor":"home-directory-fallback-when-home-is-unset","canonical_anchor":"home-directory-fallback-when-home-is-unset","heading":"Config lookups find your home folder even when HOME is not set","tier":"notice","area":"Internals","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/home-directory-fallback-when-home-is-unset","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Config lookups find your home folder even when HOME is not set\n\nWhen `HOME` is empty, Claude Code now asks the system for your home folder when looking up gcloud and other config folders\n\n**What**\n\n`HOME` is an environment variable, a named setting passed to a program from outside, that normally points at your home folder. Two places where Claude Code looks for configuration folders now ask the operating system for your home folder when `HOME` is empty:\n\n- The gcloud configuration folder\n\n- Another lookup inside `.config`\n\nBefore, an empty `HOME` produced a path relative to the current folder, which pointed to the wrong place.\n\n**Why**\n\nContainers and background services often run without `HOME` set. Claude Code can now find credentials and settings stored in your home folder in those setups.\n\n- Area: Internals\n- Names: `HOME`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}