cd /news/developer-tools/show-hn-claude-account-switch-claude… · home topics developer-tools article
[ARTICLE · art-80530] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

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

Developer Hamza Rehman released claude-account, a CLI tool that lets users switch between multiple Claude Code accounts without logging out and back in. The tool supports simple commands like 'claude account add' and 'claude account use' to manage work and personal accounts, and is available on GitHub.

read1 min views2 publishedJul 30, 2026

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

Comments URL: [https://news.ycombinator.com/item?id=49111019](https://news.ycombinator.com/item?id=49111019)

Points: 3

── more in #developer-tools 4 stories · sorted by recency
── more on @hamza rehman 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-claude-accou…] indexed:0 read:1min 2026-07-30 ·