Running multiple claude code accounts on Linux

작성자

카테고리:

← 피드로
DEV Community · Sakib · 2026-08-30 개발(SW)
Cover image for Running multiple claude code accounts on Linux

Sakib

Sakib

Posted on Aug 29 Edited on Aug 31

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.

Running Multiple Claude Code Accounts on Linux – Writing

Run separate Claude Code accounts on Linux with CLAUDE_CONFIG_DIR — manual setup, an automation script, direnv auto-switching, and VS Code integration.

favicon sakibullah.me

원문에서 계속 ↗