@anchor-lang/cli
v1.1.2
Published
Anchor CLI tool
Readme
@anchor-lang/cli
The Anchor CLI for building and managing Anchor workspaces.
Install
npm install -g @anchor-lang/cli@latest
anchor --versionFor reproducible installs, we recommend pinning to a specific version
instead of @latest, e.g. npm install -g @anchor-lang/[email protected]. This
ensures the CLI version is locked across machines and CI runs.
For most users, the recommended installation method is AVM.
Platform Support
This npm package currently bundles the anchor binary for x86_64 Linux only.
On other platforms, the wrapper will try to use a globally installed anchor
binary with the same version. If you need a native installation flow, use the
installation guide.
