Claude Code stores account data in ~/.claude, making it impossible to use two Anthropic accounts simultaneously without logging out. The CLAUDE_CONFIG_DIR environment variable lets you point the CLI to a different config directory. By creating a second directory and adding two bash aliases — each setting CLAUDE_CONFIG_DIR to a
Sort: