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?
hamzarehmandeveloper/claude-account
claude-account
hamzarehmandeveloper/claude-account
claude-account
CLI tool to switch between isolated Claude Code accounts on Linux and macOS without logging in again.
Visit project- First shared
- Jul 30, 2026
- HN activity
- 5431
Show HN@hamza_rehmanJul 30, 2026
Show HN: Claude-account – switch Claude Code accounts without logging in again
I use separate Claude Code accounts for work and personal projects. Having to log out and go through the login flow every time I switched accounts became annoying, so I built a small CLI to solve it. 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
Community