Original Reddit post

I built any-switch, a small CLI for switching local app profiles/state: https://github.com/riverscn/any-switch One built-in use case is Claude Code. If you switch between personal/work Claude accounts or different local Claude Code setups, any-switch lets you capture the current local state as a named profile and switch back to it later. Example: any-switch import-current claude personal any-switch use claude-personal --dry-run any-switch use claude-personal It creates backups before overwriting managed targets, shows a plan before writing, and redacts secrets from output. For OAuth state, quit Claude Code before importing or switching. Still early, but I’d love feedback from people who use multiple Claude Code accounts or setups. submitted by /u/riverscn

Originally posted by u/riverscn on r/ClaudeCode