zlib

Install command:
brew install zlib

General-purpose lossless data-compression library

https://zlib.net/

License: Zlib

Development: Pull requests

Formula JSON API: /api/formula/zlib.json

Formula code: zlib.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.4
head ⚡️ HEAD

Keg-only because macOS already provides this software.

GitHub Packages downloads:

Last 30 days266,533
Downloads24,820,112
Analytics install events (30 days)23,452
Downloads / install events (30 days)11.4×

Source: GitHub Packages, fetched 2026-11-27T00:53:59Z. Analytics dates: 2026-10-28 to 2026-11-27. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs23,43137,440427,009
Installs (--HEAD)2134152
Installs on Request13,88222,270119,159
Installs on Request (--HEAD)2134152
Build Errors12