Technology Jul 30, 2026 · 1 min read

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 mypersonal...

HA
Hacker News
by hamza_rehman
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


Comments URL: https://news.ycombinator.com/item?id=49111019

Points: 3

# Comments: 0

HA
Source

This article was originally published by Hacker News and written by hamza_rehman.

Read original article on Hacker News
Back to Discover

Reading List