Skip to content

Latest commit

 

History

History
141 lines (110 loc) · 4.73 KB

install.org

File metadata and controls

141 lines (110 loc) · 4.73 KB

Installation

eb-stack 0.7.4 is the crates.io package eb_stack and the GitHub release v0.7.4. The binary name is eb-stack. A release archive is a prebuilt binary. Building from a checkout, or cargo install eb_stack --locked, needs Rust 1.90 or newer: that floor is rust-version in the root Cargo.toml. rustup toolchain install stable provides a new enough compiler.

After installation, the get started page runs inspect, shard, and admit on the fixtures in a checkout. Contributor builds are on the contributing page.

Static Linux archive

The x86_64-unknown-linux-musl release archive contains a statically linked x86-64 binary. It does not require the host’s glibc, so one archive supports hosts with different glibc releases. The GNU Linux archive remains available for hosts whose glibc satisfies its linkage requirements.

curl -fsSL -O https://github.com/stackhands/eb-stack/releases/download/v0.7.4/eb_stack-x86_64-unknown-linux-musl.tar.xz
curl -fsSL -O https://github.com/stackhands/eb-stack/releases/download/v0.7.4/eb_stack-x86_64-unknown-linux-musl.tar.xz.sha256
sha256sum -c eb_stack-x86_64-unknown-linux-musl.tar.xz.sha256
tar -xf eb_stack-x86_64-unknown-linux-musl.tar.xz

Linux and macOS

The shell installer picks the archive for the host:

HostArchive
Linux x86-64eb_stack-x86_64-unknown-linux-gnu.tar.xz
Linux aarch64eb_stack-aarch64-unknown-linux-gnu.tar.xz
macOS Apple siliconeb_stack-aarch64-apple-darwin.tar.xz
macOS x86-64eb_stack-x86_64-apple-darwin.tar.xz
curl --proto '=https' --tlsv1.2 -LsSf \
  https://github.com/stackhands/eb-stack/releases/download/v0.7.4/eb_stack-installer.sh \
  | sh
eb-stack --version

The script prints downloading eb_stack 0.7.4 and the target triple, then installing to the Cargo bin directory ($CARGO_HOME/bin, or ~~/.cargo/bin~ when CARGO_HOME is unset), then everything's installed!. eb-stack --version prints:

eb-stack 0.7.4

Add that bin directory to PATH when it is absent from the shell’s PATH.

Linux x86-64 archive

The checksum file from the release is a sha256sum line. The archive contains eb-stack, LICENSE, README.md, and CHANGELOG.md.

curl -fsSL -O https://github.com/stackhands/eb-stack/releases/download/v0.7.4/eb_stack-x86_64-unknown-linux-gnu.tar.xz
curl -fsSL -O https://github.com/stackhands/eb-stack/releases/download/v0.7.4/eb_stack-x86_64-unknown-linux-gnu.tar.xz.sha256
sha256sum -c eb_stack-x86_64-unknown-linux-gnu.tar.xz.sha256
tar -xJf eb_stack-x86_64-unknown-linux-gnu.tar.xz
./eb_stack-x86_64-unknown-linux-gnu/eb-stack --version
eb_stack-x86_64-unknown-linux-gnu.tar.xz: OK
eb-stack 0.7.4

The checksum file records the SHA-256 of the archive for the selected release.

Windows

The release archive is eb_stack-x86_64-pc-windows-msvc.zip. It contains eb-stack.exe, LICENSE, README.md, and CHANGELOG.md. The PowerShell installer on the same release is eb_stack-installer.ps1; its help says it unpacks the archive into $env:CARGO_HOME/bin (or $HOME/.cargo/bin) and adds that directory to the user Path.

curl -fsSL -o eb_stack-x86_64-pc-windows-msvc.zip \
  https://github.com/stackhands/eb-stack/releases/download/v0.7.4/eb_stack-x86_64-pc-windows-msvc.zip
unzip -l eb_stack-x86_64-pc-windows-msvc.zip
Archive:  eb_stack-x86_64-pc-windows-msvc.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
    98204  2026-11-08 18:27   CHANGELOG.md
 26136064  2026-11-08 18:27   eb-stack.exe
     1142  2026-11-08 18:27   LICENSE
    25363  2026-11-08 18:27   README.md
---------                     -------
 26260773                     4 files

crates.io

cargo install eb_stack --locked
eb-stack --version

cargo install builds the 0.7.4 crate. The resulting eb-stack --version prints eb-stack 0.7.4, the same string as the GitHub release binary. cargo binstall is a separate program. Stock Cargo on this host answers:

cargo binstall
error: no such command: `binstall`

From a git checkout

git clone https://github.com/stackhands/eb-stack.git
cd eb-stack
cargo build --locked --release
install -Dm755 target/release/eb-stack ~/.local/bin/eb-stack
eb-stack --version

A release build of this tree prints:

eb-stack 0.7.4

=~/.local/bin has to be on PATH. The test suite is cargo test --locked, described on the contributing page.