{"slug": "show-hn-claude-account-switch-claude-code-accounts-without-logging-in-again", "title": "Show HN: Claude-account – switch Claude Code accounts without logging in again", "summary": "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.", "body_md": "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.\n\nThe commands are intentionally simple:\n\nclaude account add myworkaccount claude account add mypersonalaccount claude account use myworkaccount claude account current\n\nAfter switching, Claude Code works normally:\n\nclaude\nclaude \"fix this bug in main.py\"\nRepository: [https://github.com/hamzarehmandeveloper/claude-account](https://github.com/hamzarehmandeveloper/claude-account)\n\nGive it a try\n\nComments URL: [https://news.ycombinator.com/item?id=49111019](https://news.ycombinator.com/item?id=49111019)\n\nPoints: 3\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-claude-account-switch-claude-code-accounts-without-logging-in-again", "canonical_source": "https://github.com/hamzarehmandeveloper/claude-account", "published_at": "2026-07-30 14:58:59+00:00", "updated_at": "2026-07-30 16:18:40.791967+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools"], "entities": ["Hamza Rehman", "Claude Code", "claude-account", "GitHub"], "alternates": {"html": "https://wpnews.pro/news/show-hn-claude-account-switch-claude-code-accounts-without-logging-in-again", "markdown": "https://wpnews.pro/news/show-hn-claude-account-switch-claude-code-accounts-without-logging-in-again.md", "text": "https://wpnews.pro/news/show-hn-claude-account-switch-claude-code-accounts-without-logging-in-again.txt", "jsonld": "https://wpnews.pro/news/show-hn-claude-account-switch-claude-code-accounts-without-logging-in-again.jsonld"}}