Install productctl from GitHub Releases via Homebrew on macOS and Linux.
brew tap aroff/homebrew-cli https://github.com/aroff/homebrew-cli
brew install productctlThe checked-in formula targets assets attached to productctl releases. After you publish a new release, refresh checksums and URLs with ./generate_formula.sh (or ./generate_formula.sh --version X.Y.Z) before users install that version.
- macOS Apple Silicon uses
productctl-aarch64-apple-darwin.tar.gz - macOS Intel uses
productctl-x86_64-apple-darwin.tar.gz - Linux chooses between
linux-gnuandlinux-muslarchives based on glibc detection in the formula
productctl --versionProject and design notes:
- Repository: https://github.com/aroff/productctl
- Technical design: https://github.com/aroff/productctl/blob/main/specs/technical-design.md
brew upgrade productctlbrew uninstall productctl
brew untap aroff/homebrew-cli