---
title: "Discussion on \"How I Run Multiple Claude Code Accounts From One Terminal\" | Hashnode"
description: "Discussion on \"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."
url: "https://hashnode.com/posts/how-i-run-multiple-claude-code-accounts-from-one-terminal/69ffdcc1e5463785dbc19001"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I Run Multiple Claude Code Accounts From One Terminal](https://harryy2510.hashnode.dev/how-i-run-multiple-claude-code-accounts-from-one-terminal?utm_source=hashnode&utm_medium=feed)

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.

May 10 · 8 min read · harryy2510.hashnode.dev  
Read the article

-   [#agents](https://hashnode.com/tag/agents)
-   [#ai](https://hashnode.com/tag/ai)
-   [#claude-code](https://hashnode.com/tag/claude-code)
-   [#direnv](https://hashnode.com/tag/direnv)
-   [#mcp](https://hashnode.com/tag/mcp)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#programming](https://hashnode.com/tag/programming)
-   [#security](https://hashnode.com/tag/security)

## Written by

[Hariom Sharma](https://hashnode.com/@harryy2510)

@harryy2510 · Dubai, UAE

  
[View profile](https://hashnode.com/@harryy2510)

Technical lead. AI tooling, Cloudflare Workers, TypeScript.

Founding engineer and technical lead. 10+ years shipping products for Google, Telefonica, and high-growth startups. Building with TypeScript, React, Cloudflare Workers, and AI tooling.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
