appreciate you building this! I have two Claude max accounts. The way I do it is that I have two app launchers (claude desktop). I use the desktop app and a different data directory for each launcher like `open -n -a /Applications/Claude.app --args --user-data-dir="<its profile directory>"`. I got my first Claude to make me two different launchers for the two apps, and it's been working perfectly. wdyt?
The only problem I've noticed is with Claude in Chrome. It seems to not work well in the second account. And this makes sense because it was designed just for one app. Do you find yourself having the same problem with this setup? have you tried the second one with the Claude in Chrome ext?
Simple and works great but requires one alias per account
cowlby 3 hours ago [-]
This is great. My enhancement was to create a .claude-profile file which specifies the account alias. "claude" can be aliased to read the file, set the correct env var, and launch claude.
Another benefit was if no .claude-profile file exists, claude refuses to launch.
orliesaurus 3 hours ago [-]
simple and easy - thank you
hmokiguess 56 minutes ago [-]
I built the same thing for myself, but I like your implementation so much better.
dotancohen 3 hours ago [-]
Does it share the global ~/.claude/CLAUDE.md file? For some use case I'd like that, for others it could be problematic.
cute_boi 3 hours ago [-]
Do you expect vibe-coded slop to care about such things? Also, there's already another app, https://github.com/realiti4/claude-swap, which is also vibe-coded, but it's maintained and tested.
dotancohen 2 hours ago [-]
> Do you expect vibe-coded slop to care about such things?
I'm divorced - I no longer have any expectations. I ask.
carloslfu 2 hours ago [-]
thanks for sharing this one!
pwython 2 hours ago [-]
I use the Claude Code desktop app for work, and the CLI for personal, so I'm always logged into both accounts!
bdemirkir 3 hours ago [-]
Or use https://omp.sh and add multiple accounts. omp tracks usage and when limit is reached it uses the next account.
AlexErrant 3 hours ago [-]
Sadly incompatible with Claude subs.
bdemirkir 2 hours ago [-]
Subs are supported
AlexErrant 12 minutes ago [-]
Doesn't this require pi, which CC famously bans you for using?
baron3dl 2 hours ago [-]
don't people get banned for doing this kind of thing?
ttoinou 34 minutes ago [-]
A lot of them also don’t get banned, right ? There are vibecoders youtubers switching accounts all the time
So what’s the differenve ?
rew0rk 2 hours ago [-]
The threat of account bans and a less than friendly appeal system does make me wary of trying it, even though this would be incredibly useful.
dpoloncsak 2 hours ago [-]
If it's honestly 'One account is paid for by my employer and used as a tool for my job' and 'One account is for personal use, where I work on passion-projects and the likes' I think it's fine....? Not a lawyer but I'd assume as long as you're not using it to bypass usage limits Anthropic wouldn't even really notice or care.
baron3dl 2 hours ago [-]
not sure law matters, anthropic is draconian about bans/appeals.
swyx 1 hours ago [-]
does this also extend to codex?
acuteaura 3 hours ago [-]
revolutionary. you can do this with 2 lines of shell code.
The only problem I've noticed is with Claude in Chrome. It seems to not work well in the second account. And this makes sense because it was designed just for one app. Do you find yourself having the same problem with this setup? have you tried the second one with the Claude in Chrome ext?
Simple and works great but requires one alias per account
Another benefit was if no .claude-profile file exists, claude refuses to launch.
So what’s the differenve ?
i do this: https://github.com/acuteaura/universe/blob/main/overlays/cla...
~/development/account1/mise.toml:
[env]
CLAUDE_CONFIG_DIR = "{{ env.HOME }}/.claude-account1"