← heapsort
ARTICLE27

Claude Code Multi-Account Setup (Without Losing Context)

DEV.to AIΒ·April 13, 2026

This article outlines a method for managing multiple Claude accounts (personal and work) via the command line without losing conversation context. The solution leverages the CLAUDE_CONFIG_DIR environment variable to direct credentials and conversations to separate directories, enabling both accounts to operate simultaneously in different terminal tabs.

Read original β†—