Claude officially stores the active login in:
/home/manoar/.claude/.credentials.json
with permissions 0600, so swapping that file can change which Claude account is active. ([Claude][1])
The one important detail is: don’t treat credentials-work.json and credentials-personal.json as permanent static backups. Claude refreshes OAuth tokens and can rewrite .credentials.json. If you later restore an old copy, its refresh token may already be stale. Recent Claude Code reports specifically show refresh-token rotation/stale-token problems around this file. ([GitHub][2])