54 points · by hamza_rehman · 4mo ago · 31 comments
The commands are intentionally simple:
claude account add myworkaccount claude account add mypersonalaccount claude account use myworkaccount claude account current
After switching, Claude Code works normally:
claude claude "fix this bug in main.py" Repository: https://github.com/hamzarehmandeveloper/claude-account
Give it a try
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.
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.
alias claude-personal='CLAUDE_CONFIG_DIR=~/.claude-personal claude'
Is that supported?
So what’s the differenve ?
~/development/account1/mise.toml:
[env]
CLAUDE_CONFIG_DIR = "{{ env.HOME }}/.claude-account1"
i do this: https://github.com/acuteaura/universe/blob/main/overlays/cla...