Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v1.0.22 Home All releases olderv1.0.21 v1.0.23newer
Claude Code v1.0.22

XDG Base Directory Support

Claude Code now follows the XDG Base Directory specification for better organization of files:

  • State files: $XDG_STATE_HOME/claude/ (defaults to ~/.local/state/claude/)
  • Cache files: $XDG_CACHE_HOME/claude/ (defaults to ~/.cache/claude/)
  • Data files: $XDG_DATA_HOME/claude/ (defaults to ~/.local/share/claude/)
  • Executables: ~/.local/bin/claude

The application will automatically migrate existing files from the old location (~/.claude/) to the new XDG-compliant locations on first run.

See this entry in the whole of v1.0.22 →