Repository navigation
claude-acc 2.0.0 — Windows support
claude-acc now runs on Windows as well as macOS, as a single self-contained binary.
Install
macOS:
curl -fsSL https://raw.githubusercontent.com/linhh-phv/claude-acc/main/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/linhh-phv/claude-acc/main/install.ps1 | iexOr download claude-acc-windows-amd64.zip below, unzip it and double-click install.cmd.
Step-by-step guide: README → Windows: step by step
· Tiếng Việt.
Upgrading from 1.x
Install over it — no account needs to be added again. 2.0 reads the same Keychain items,
the same ~/.config/claude-acc files and the same pins that 1.x wrote, and writes them back the
same way, so going back to 1.x also works. python3 is no longer needed.
What changed
- Rewritten in Go (from bash + Python). Every command behaves as before: 100 scenarios run the
1.x script and the new binary side by side and compare output, exit codes and every file
written. - Windows: tokens in Credential Manager; main's credential read wherever Claude Code keeps it
(.credentials.jsonor Credential Manager);--allcopies the pin into each workspace
folder;envprints PowerShell; npm installs of Claude Code supported. addchecks a token with the API before storing it — re-adding an account with a broken
token no longer replaces the working one everywhere.- A token wrapped across lines by a narrow terminal is rejoined (when captured, copied or
pasted) instead of being stored truncated. claude-acc login: what you type or paste at the code prompt is visible, and a code copied
from the browser is filled in automatically.- Fixes to 1.x quirks:
syncexiting 1 on success,switchfailing when~/.claudedid not
exist yet, Python tracebacks on errors, settings.json symlinks replaced by plain files.
SHA256SUMS lists the checksum of each file.