Multiple Claude Accounts
FreshUse two or more Claude Code Max subscriptions by pointing agents at separate config directories.
Setup
Step 1: Authenticate Each Account
bash
# Account 1 (primary - already in ~/.claude)
claude login
# Account 2
CLAUDE_CONFIG_DIR=~/.claude-personal claude loginStep 2: Copy Config
bash
cp -a ~/.claude ~/.claude-personalStep 3: Symlink Shared Resources
bash
# Sessions
ln -s ~/.claude/projects ~/.claude-personal/projects
# Settings
ln -s ~/.claude/settings.json ~/.claude-personal/settings.json
# Plugins
ln -s ~/.claude/plugins ~/.claude-personal/plugins
# Commands
ln -s ~/.claude/commands ~/.claude-personal/commandsStep 4: Configure in Maestro
In agent configuration, set the environment variable:
CLAUDE_CONFIG_DIR=/home/you/.claude-personalOr for a work account:
CLAUDE_CONFIG_DIR=/home/you/.claude-workHow It Works
Sessions are cross-account because the projects/ directory is symlinked. Each account has its own authentication but shares everything else.
Critical Rule
Never run both account agents on the same project simultaneously. This can cause session conflicts and unexpected behavior.
See Also
- Provider Configuration — Claude Code setup
- Settings — Environment variable configuration