@brokkai/anvil
v0.25.0
Published
Anvil: Rust ACP server with first-run setup for Codex, Ollama, and OpenRouter
Readme
@brokkai/anvil
Anvil is a Rust ACP (Agent Client
Protocol) server with first-run setup for Codex, Ollama, and OpenRouter. This
package installs the released native anvil binary through npm — no Rust
toolchain and no first-run download.
Install
npm install -g @brokkai/anvil
anvil --versionOr run it one-shot without a persistent install:
npx -y @brokkai/anvil --version
npx -y @brokkai/anvil@<version> --versionHow it works
@brokkai/anvil contains a small launcher and pins one exact optional
dependency per supported platform. npm installs only the package matching your
operating system and CPU; each platform package contains the complete
checksum-verified GitHub release bundle for that Anvil version. The launcher
executes the native binary by absolute path and forwards arguments, stdio,
signals, and the exit status unchanged.
| Platform | Package |
| --- | --- |
| macOS (Apple Silicon and Intel) | @brokkai/anvil-darwin-universal |
| Linux x86-64 (glibc) | @brokkai/anvil-linux-x64 |
| Linux ARM64 (glibc) | @brokkai/anvil-linux-arm64 |
| Android ARM64 (Termux) | @brokkai/anvil-android-arm64 |
| Windows x86-64 | @brokkai/anvil-win32-x64 |
Unsupported platforms (for example musl-based Linux such as Alpine) fail with
a clear error; use another install method
there. Do not install with --no-optional / --omit=optional: the platform
packages are optional dependencies, and skipping them leaves the launcher with
no binary to run.
Pin, upgrade, uninstall
npm install -g @brokkai/[email protected] # pin an exact Anvil release
npm install -g @brokkai/anvil@latest # upgrade
npm uninstall -g @brokkai/anvil # uninstallNext steps
Running anvil directly starts a stdio JSON-RPC server; use it through an ACP
client. Configure a supported client from the installed binary:
anvil install zed
anvil install jetbrains
anvil install neovim --plugin codecompanionDocumentation: https://anvil.brokk.ai/ · Source and issues: https://github.com/BrokkAi/anvil
