KB / Memory / project-anyrouter-cli-native
AnyRouter CLI is a native Rust binary
Public install is curl | bash; binary is anyr; pin models with anyr claude --model owner/model
Public AnyRouter CLI is a native Rust binary, not the old Node package as the primary path.
- Install:
curl -fsSL https://anyrouter.dev/setup.sh | bash - First run:
anyr auth loginthenanyr claude. Claude is the default agent; there is no post-login model/agent wizard. - Commands:
anyr(prose) /ar(alias). Omit--modelto use the documentedanyrouter/autopreset (gateway failover, not a catalog SKU). Pin withanyr claude --model owner/model(same foropencode/codex). - Catalog ids are
owner/model(e.g.stealth/ox-alpha). Model page:https://anyrouter.dev/model/<owner>/<model>. - Source, issues, and binaries: anyrouter-dev/cli. Product/catalog issues stay on project-anyrouter (
duyet/anyrouter). - Smoke:
anyr claude --model owner/model(example:stealth/ox-alpha[1m]). setup.sh(stable) probes GitHub/releases/latest/download/anyr-<os>-<arch>, then falls back to the newest release that actually has binaries (often a prerelease). A bare/releases/latest/download/...URL can still 404 when the latest stable tag has no assets.anyr updatemust not call the GitHub Releases API unauthenticated (shared IPs get 403). Use a token or the public HTML listing.
Hub: project-anyrouter.