Install
Cargo (crates.io / git)
cargo install git-gist --locked
# or from this repo:
cargo install --git https://github.com/chtnnh/git-gist --locked
cargo install --path . --locked
Homebrew
brew tap chtnnh/tap
brew install git-gist
# or: brew install chtnnh/tap/git-gist
Requires chtnnh/homebrew-tap. On Homebrew 6+, you may need brew trust chtnnh/tap once.
Nix
nix run github:chtnnh/git-gist -- version
nix profile install github:chtnnh/git-gist
# from a local checkout:
nix run . -- overview
deb / rpm
Download from GitHub Releases, or build locally:
cargo install cargo-deb cargo-generate-rpm
cargo build --release
cargo deb
cargo generate-rpm
Shell / PowerShell installer (cargo-dist)
curl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/chtnnh/git-gist/releases/latest/download/git-gist-installer.sh | sh
irm https://github.com/chtnnh/git-gist/releases/latest/download/git-gist-installer.ps1 | iex
Full operator guide: Packaging and packaging/README.md.