Live data from Hacker News

Show HN: Claude-account – switch Claude Code accounts without logging in again

github.com

31–36 of 36 posts

Re: Show HN: Claude-account – switch Claude Code accounts without logging in again

#31
post #30

Can you be logged into two accounts at once? It's not the switching, but the different sessions on different accounts that I find myself doing. As some have said, easy enough to build yourself, but I think it' nice not to have to test it and make sure it works.

Yes, you can, just need to set a separate config dir. I have the below in my zshrc.

alias claude-personal='CLAUDE_CONFIG_DIR=~/.claude-personal claude'

Re: Show HN: Claude-account – switch Claude Code accounts without logging in again

#32
post #30

Can you be logged into two accounts at once? It's not the switching, but the different sessions on different accounts that I find myself doing. As some have said, easy enough to build yourself, but I think it' nice not to have to test it and make sure it works.

Yep, that’s supported. Switching only affects newly started Claude processes, so you can keep work open in one terminal and personal in another using claude account
Post reply on HN