Dev Tools · 2h ago
How to manage multiple Claude Code accounts with config directories
Claude Code stores all state in ~/.claude by default, but the CLAUDE_CONFIG_DIR environment variable lets you redirect it. By creating separate directories and shell aliases, you can run independent instances for personal and work accounts. The setup avoids hardcoded paths to survive NVM upgrades, though project-level .claude/ configs remain shared.
Meridian48 take
A practical workaround for a missing feature, but the shared project config caveat means it's not a full isolation solution.
claude-codemultiple-accounts