Installation
Install the latest release as a prebuilt binary — no Rust toolchain needed. The script detects your platform and downloads the matching build.
macOS and Linux
Section titled “macOS and Linux”curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dk0d/shki/releases/latest/download/shki-installer.sh | shWindows (PowerShell)
Section titled “Windows (PowerShell)”irm https://github.com/dk0d/shki/releases/latest/download/shki-installer.ps1 | iexBoth install shki into $CARGO_HOME/bin (~/.cargo/bin by default — make sure
it is on your PATH), along with an updater:
shki-update # upgrade in place to the newest releaseTo pin a version, replace latest/download with download/v<version>, e.g.
.../releases/download/v0.9.6/shki-installer.sh.
With cargo binstall
Section titled “With cargo binstall”shki is not published to crates.io, so point binstall at the repository:
cargo binstall --git https://github.com/dk0d/shki shkiThis fetches the same prebuilt binary as the scripts above instead of compiling.
There is no @latest specifier — binstall expects a semver requirement, and with
--git it reads the version from the repository, which is already the newest
release. Use shki@* to state “any version” explicitly, or shki@0.9.6 to pin.
Unlike the install scripts, binstall does not install shki-update.
From source
Section titled “From source”Prebuilt binaries cover macOS (Apple Silicon and Intel), Linux (x86_64 and aarch64, glibc), and Windows (x86_64). Anywhere else, build from source:
cargo install --git https://github.com/dk0d/shkiOr locally:
git clone https://github.com/dk0d/shkicd shkicargo install --path .