cd /news/developer-tools/running-multiple-claude-code-account… · home topics developer-tools article
[ARTICLE · art-115370] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=· neutral

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.

read1 min views1 publishedAug 29, 2026

If you use Claude Code 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 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.

── more in #developer-tools 4 stories · sorted by recency
── more on @claude code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/running-multiple-cla…] indexed:0 read:1min 2026-08-29 ·