Move Claude Code's config folder to another drive or into the XDG folders, safely: settings, sessions, the plugin cache and .claude.json move together, CLAUDE_CONFIG_DIR is set to match, and undo puts everything back. Zero tokens.
nodejs windows dotfiles cli disk-space xdg developer-tools zero-dependency claude relocate anthropic ai-coding claude-code agentic-coding claude-code-toolkit xdg-base-directory config-dir
-
Updated
Oct 28, 2026 - JavaScript