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
This article was originally published by Hacker News and written by hamza_rehman.
Read original article on Hacker News