Installation

Three ways to install Shrinkr on macOS.

Installation

The easiest method. Homebrew handles the libvips dependency automatically.

brew install idrewlong/tap/shrinkr

After install, verify it works:

shrinkr --help

Go Install

Requires Go 1.21+ and libvips installed separately.

# Install libvips first
brew install vips

# Then install Shrinkr
go install github.com/idrewlong/shrinkr_cli@latest

Build from Source

See Build from Source for the full walkthrough.

Updates

brew upgrade shrinkr