PulseAugur
实时 22:40:15

Manage Multiple Claude Code Accounts With Direnv

This article details a method for managing multiple Claude Code accounts and associated credentials from a single terminal using direnv and CLAUDE_CONFIG_DIR. The approach involves creating distinct profiles for different trust boundaries, such as personal, work, or client-specific accounts, rather than per-repository configurations. This separation helps prevent credential mixing and mitigates security risks, as demonstrated by past incidents involving malicious npm packages and command injection vulnerabilities in MCP-based systems. AI

影响 Streamlines developer workflows by enabling efficient management of multiple AI assistant accounts and their associated credentials.

排序理由 The article describes a technical method for managing software configurations and credentials, which falls under the 'tool' category.

在 dev.to — Claude Code tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Manage Multiple Claude Code Accounts With Direnv

报道来源 [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Hariom Sharma ·

    How I Run Multiple Claude Code Accounts From One Terminal

    <p>The first problem sounds simple: you have more than one Claude Code account.</p> <p>Maybe one is personal and one belongs to your company. Maybe you use Claude Max personally but your org wants work to happen under its own account. Maybe you freelance and each client expects a…