Install
Download a binary from the releases page and put it on your PATH.
| File | Platform | Notes |
|---|---|---|
pkgr-linux-x86_64 |
Linux, x86_64 | static musl, runs anywhere including Alpine |
pkgr-windows-x86_64.exe |
Windows, x86_64 | |
pkgr-macos-arm64 |
macOS, Apple silicon | not signed or notarised |
pkgr-macos-x86_64 |
macOS, Intel | not signed or notarised |
Release assets do not carry a permission bit, so make the file executable and rename it:
chmod +x pkgr-linux-x86_64mv pkgr-linux-x86_64 ~/.local/bin/pkgrThe rename is what makes the command pkgr. The binary does not care what it is called.
Windows
Section titled “Windows”Drop pkgr-windows-x86_64.exe somewhere on your PATH, renamed to pkgr.exe.
The macOS binaries are not signed or notarised, so macOS quarantines a file downloaded in a browser. Clear the flag, make it executable and rename it:
xattr -d com.apple.quarantine pkgr-macos-arm64chmod +x pkgr-macos-arm64mv pkgr-macos-arm64 /usr/local/bin/pkgrUse pkgr-macos-x86_64 on an Intel Mac. If macOS still refuses, allow it under System Settings → Privacy & Security.
Verify
Section titled “Verify”SHA256SUMS on each release has the checksums: sha256sum -c SHA256SUMS on Linux, shasum -a 256 -c SHA256SUMS on macOS, Get-FileHash on Windows.
pkgr -versionFrom source
Section titled “From source”./build.ps1 # Windows./build.sh # Linux and macOSBoth run cargo fmt --check, clippy with warnings as errors, and the tests, then build with --locked. The binary lands in bin/. See Building for the options.
Support the project: Buy Me a Coffee or GitHub Sponsors.