Skip to content

Release install reference

Release artifacts are published on GitHub Releases.

Install scripts

Latest Linux/macOS release:

curl -fsSL https://raw.githubusercontent.com/atbuy/carrier/main/install.sh | sh

Specific Linux/macOS release:

curl -fsSL https://raw.githubusercontent.com/atbuy/carrier/main/install.sh | sh -s -- --version v0.1.0

Latest Windows release:

irm https://raw.githubusercontent.com/atbuy/carrier/main/install.ps1 | iex

Specific Windows release:

powershell -NoProfile -ExecutionPolicy Bypass -Command "& ([scriptblock]::Create((irm https://raw.githubusercontent.com/atbuy/carrier/main/install.ps1))) -Version v0.1.0"

Artifact names

Linux:

carrier-linux-amd64.tar.gz
carrier-linux-arm64.tar.gz

macOS:

carrier-darwin-amd64.tar.gz
carrier-darwin-arm64.tar.gz

Windows:

carrier-windows-amd64.zip
carrier-windows-arm64.zip

Checksums:

checksums.txt

Manual checksum validation

Release notes include the short checksum workflow for each release. Manual validation uses checksums.txt:

curl -LO "https://github.com/atbuy/carrier/releases/download/v0.1.0/checksums.txt"
sha256sum --check --ignore-missing checksums.txt

GitHub also shows a sha256:<hash> digest beside each release asset. Compare it with:

sha256sum carrier-linux-amd64.tar.gz

Manual archive install

Download the archive for your OS and architecture from GitHub Releases, extract it, and place the binary on PATH.

version=v0.1.0
curl -LO "https://github.com/atbuy/carrier/releases/download/${version}/carrier-linux-amd64.tar.gz"
tar -xzf carrier-linux-amd64.tar.gz
install -Dm755 carrier-linux-amd64 ~/.local/bin/carrier

Windows archives contain carrier.exe; copy it to a directory on PATH.

Expand-Archive .\carrier-windows-amd64.zip

Maintainer release workflow

Publishing a v* tag builds Linux, macOS, and Windows assets, then publishes a GitHub release with generated release notes and checksums.txt.

git tag v0.1.0
git push origin v0.1.0

The release workflow also supports manual dispatch for rebuilding assets from an existing tag. Set the tag input to the release tag, leave ref empty to build that tag, and use the draft or prerelease inputs when needed.