For Claude Code on Windows and Linux

Switch Claude accounts in one command

Work and personal Claude accounts on one machine? toa saves each login and switches Claude Code, in the terminal and in VS Code, in under a second. No more logging out, logging in and waiting for the browser.

v1.9.0 · 3.4 MB · Requires Claude Code. No administrator rights needed.

❯ toa ls

3 saved accounts:

*ProfilePlanLogin expires
*personalPro2026-12-04 (in 29 days)
workTeam2026-12-02 (in 27 days)
clientMax2026-12-05 (in 30 days)

(*) Active

❯ toa work

Switched to "work" (alice@company.example)

❯

Switching accounts with toa

Built for people with more than one Claude account

Instant switching

Run toa work and Claude Code uses that account. A unique prefix of the name is enough, or pick from a menu with toa.

Logins stay fresh

Claude Code rotates its refresh tokens. toa saves the latest tokens before every switch, so saved accounts keep working.

One-file install

Double-click toa.exe and press Enter. No administrator rights, no developer tools, nothing else to download.

Safe by design

Only the account record changes; every other Claude Code setting is kept. Files are written atomically, and the original login is backed up on first use.

Stays on your computer

toa talks to no server of its own. It copies local files and runs the official claude auth commands.

English and Tiếng Việt

toa follows your system language. Switch at any time with toa lang en or toa lang vi.

Get started in three steps, no commands needed

  1. Download and open

    Download toa.exe and double-click it. If Windows shows "Windows protected your PC", click More info, then Run anyway.

  2. Press Enter and sign in

    Press Enter to install. toa then opens your browser so you can sign in to each Claude account you use.

  3. Switch any time

    Open Toa from the Start menu and type the number of the account you want. Prefer the terminal? Run toa.

For terminal users

toaOpen the account menu
toa aliceSwitch to the account whose name starts with "alice"
toa lsList saved accounts and when their logins expire
toa login [email]Log in to a new account and save it
toa lang viShow toa in Vietnamese
toa --helpSee every command

Download toa

Free and open source under the MIT License. One file, about 3 MB. Windows users: double-click it to install.

Version v1.9.0 · SHA-256 checksums ·Source code on GitHub (opens in a new tab) · Requires Claude Code. No administrator rights needed.

Or install from the terminal

One command downloads toa, verifies its SHA-256 checksum and installs it. Nothing is installed if the check fails.

Windows (PowerShell)
irm https://toa-switch.pages.dev/install.ps1 | iex
Linux
curl -fsSL https://toa-switch.pages.dev/install.sh | sh

Prefer to read the script before running it?install.ps1 · install.sh

Frequently asked questions

Windows says "Windows protected your PC". Is that normal?

Yes. Windows shows it for any program that is not code-signed. Click More info, then Run anyway. You can verify the file against the published SHA-256 checksums.

Is it safe?

toa needs no administrator rights and only changes files in your own user folders. It never sends your logins anywhere: it copies local files and runs the official Claude Code sign-in. The source code is public on GitHub.

Do I need to restart Claude Code after switching?

Start a new Claude Code session, or run Developer: Reload Window in VS Code. Sessions that are already running keep the previous account until then.

Where are my accounts stored?

In the .toa folder in your user profile, protected the same way as Claude Code's own login file.

Does it work on macOS?

Not yet. macOS keeps Claude Code tokens in the Keychain, which toa does not support.

How do I uninstall it?

Open Settings > Apps, find Toa and click Uninstall, like any other app. Your saved accounts stay until you delete the .toa folder.