How They Use AI  |  Newest

<< Home  |  Work

Run multiple Claude accounts simultaneously on one machine

AreaWork
AI usedClaude Code
Sourcer/BuildWithClaude
Posted2026-11-15

The move

Create separate configuration directories for each Claude account to bypass single-login limitations.

Steps

  1. Create a new directory for the second account using mkdir -p $HOME/.claude-b
  2. Add a function to your shell config file that sets CLAUDE_CONFIG_DIR to the new path
  3. Restart your terminal and run the auth login command for the new alias
  4. Use the new alias command to run Claude sessions independently

Prompt for your AI

CLAUDE_CONFIG_DIR="[path/to/new/config/folder]" command claude [command]

What happened

The user needed to manage separate personal and work Claude accounts without constantly logging in and out. By creating unique configuration folders for each account and defining shell aliases, they successfully kept multiple sessions active simultaneously. This allows the user to run different accounts side-by-side in the terminal and desktop app.

Watch out

Ensure you are logged into the correct browser account before authenticating to avoid mixing session data. Manually managing config folders requires keeping track of which alias corresponds to which account.

Give it to your agent

Read https://howtheyuse.ai/p/run-multiple-claude-accounts-simultaneously-on-one-machine.md and help me do this.

Sources



Last updated November 26, 2026.