·7 min read
How I Run Multiple Claude Code Accounts From One Terminal
Use direnv and CLAUDE_CONFIG_DIR to switch Claude Code accounts and profiles by folder, then use the same setup to isolate MCP credentials for personal, org, and client work.
aiagentsprogrammingproductivitysecurityclaude-codemcpdirenv