{"slug": "running-multiple-claude-code-accounts-on-linux", "title": "Running multiple claude code accounts on Linux", "summary": "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.", "body_md": "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.\n\nThe 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.", "url": "https://wpnews.pro/news/running-multiple-claude-code-accounts-on-linux", "canonical_source": "https://dev.to/sakibullah2006/running-multiple-claude-code-accounts-on-linux-opj", "published_at": "2026-08-29 20:56:49+00:00", "updated_at": "2026-08-29 21:18:48.085742+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["Claude Code"], "alternates": {"html": "https://wpnews.pro/news/running-multiple-claude-code-accounts-on-linux", "markdown": "https://wpnews.pro/news/running-multiple-claude-code-accounts-on-linux.md", "text": "https://wpnews.pro/news/running-multiple-claude-code-accounts-on-linux.txt", "jsonld": "https://wpnews.pro/news/running-multiple-claude-code-accounts-on-linux.jsonld"}}