{"version":"1.0.22","anchor":"xdg-base-directory-support","canonical_anchor":"xdg-base-directory-support","heading":"XDG Base Directory Support","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/1.0.22\/e\/xdg-base-directory-support","release_url":"https:\/\/changelogs.core-directive.com\/v\/1.0.22","markdown":"### XDG Base Directory Support\n\nClaude Code now follows the XDG Base Directory specification for better organization of files:\n\n- **State files**: `$XDG_STATE_HOME\/claude\/` (defaults to `~\/.local\/state\/claude\/`)\n- **Cache files**: `$XDG_CACHE_HOME\/claude\/` (defaults to `~\/.cache\/claude\/`)\n- **Data files**: `$XDG_DATA_HOME\/claude\/` (defaults to `~\/.local\/share\/claude\/`)\n- **Executables**: `~\/.local\/bin\/claude`\n\nThe application will automatically migrate existing files from the old location (`~\/.claude\/`) to the new XDG-compliant locations on first run."}