Running multiple claude code accounts on Linux A developer shared a tip for managing multiple Claude Code accounts on Linux by using the CLAUDE_CONFIG_DIR environment variable, which allows separate configurations and session states for work and personal projects, eliminating the need to log out and log back in when switching accounts. If you use Claude Code https://docs.claude.com/en/docs/claude-code/overview for both work and personal projects, you've probably hit this: switching accounts means logging out, logging back in, and losing whatever session state you had. It's a small friction that adds up fast if you're context-switching several times a day. The fix is one environment variable: CLAUDE CONFIG DIR https://code.claude.com/docs/en/overview for both work and personal projects, you've probably hit this: switching accounts means logging out, logging back in, and losing whatever session state you had. It's a small friction that adds up fast if you're context-switching several times a day.