A developer has shared a method for using multiple Claude Code accounts simultaneously on a single Mac, bypassing the limitation of signing into only one account at a time within the Claude Desktop application. This is achieved by leveraging the `CLAUDE_CONFIG_DIR` environment variable to create separate configuration directories for each account. The solution involves setting up distinct folders for work and personal accounts, which allows for independent sign-ins and session management in the terminal. For the Claude Desktop's Code tab, a tool called `claude-desktop-twins` is introduced to manage separate application instances, each linked to a specific configuration directory, ensuring that work and personal sessions remain distinct. AI
IMPACT Enables users to manage separate work and personal accounts for AI coding assistants, improving workflow and organization.
RANK_REASON The item describes a third-party tool and method for managing multiple accounts within an existing software product.
Read on dev.to — Claude Code tag →
- Anthropic
- ANTHROPIC_API_KEY
- Claude Code
- CLAUDE_CONFIG_DIR
- Claude Console
- Claude Desktop
- claude-desktop-twins
- Claude Desktop Twins Premium
- Dock
- Mac
- macOS Keychain
- MIT
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →