Skip to content

claude-acc 2.0.0 — Windows support

Choose a tag to compare

@linhh-phv linhh-phv released this 12 Oct 09:31
· 16 commits to main since this release

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 | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/linhh-phv/claude-acc/main/install.ps1 | iex

Or 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.json or Credential Manager); --all copies the pin into each workspace
    folder; env prints PowerShell; npm installs of Claude Code supported.
  • add checks 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: sync exiting 1 on success, switch failing when ~/.claude did not
    exist yet, Python tracebacks on errors, settings.json symlinks replaced by plain files.

SHA256SUMS lists the checksum of each file.