Installation
Static binaries
Section titled “Static binaries”Pre-built static binaries are available from GitHub Releases for:
| Platform | Architecture |
|---|---|
| Linux | x86_64, aarch64, riscv64 |
| macOS | x86_64, aarch64 |
| Windows | x86_64, aarch64 |
Download the binary for your platform, make it executable, and place it on your PATH.
If you use Node.js, you can install Cursus via npm. The package downloads the appropriate static binary for your platform during postinstall. All downloads are verified using a GitHub attestation to ensure that the downloaded builds are official builds. See the security policy for details on the verification chain and how to audit it manually.
npm install --save-dev @zantarix/cursusThis makes cursus available via npx cursus or in npm scripts.
From source
Section titled “From source”With a Rust toolchain installed:
cargo install cursus-binThis builds from source and installs the binary to ~/.cargo/bin/.
cargo-binstall
Section titled “cargo-binstall”If you have cargo-binstall installed, you can install the prebuilt binary from GitHub Releases without compiling from source:
cargo binstall cursus-binThis downloads the matching static binary for your host triple (including glibc Linux, which is mapped to the equivalent musl artifact) and installs it to ~/.cargo/bin/. cargo-binstall verifies the download via HTTPS; for stronger identity-pinned provenance verification, run gh attestation verify --repo zantarix/cursus ~/.cargo/bin/cursus against the installed binary.
cargo-run-bin
Section titled “cargo-run-bin”If you pin tooling versions per-repository using cargo-run-bin, you can declare cursus as a project-scoped binary in your own Cargo.toml:
[package.metadata.bin]cursus-bin = { version = "<desired-version>" }When cargo-binstall is also installed, cargo-run-bin will delegate to it and pick up the prebuilt binary, so the install is a fast download rather than a from-source build.
Verify installation
Section titled “Verify installation”cursus --version