zlib
brew install zlib
v1.3.2
Zlib
keg-only
General-purpose lossless data-compression C library, ubiquitously used in gzip and PNG.
Why you might care
zlib is a foundational dependency for countless build chains and runtime environments; most systems have it, but Homebrew's keg-only formula lets you explicitly link against a specific version if macOS's bundled zlib is insufficient or outdated. Use this when you need reliable deflate/inflate support for custom tools or when building projects that require an exact zlib version.
13.5k
30-day installs · #301
47.7k
90-day · #287
773.6k
365-day · #82
Links
- https://zlib.net/
- Brew formula source: Formula/z/zlib.rb
Keg-only reason
:provided_by_macos
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"brotli",
"xz",
"bzip2"
],
"build_dependencies": [],
"categories": [
"library",
"compression"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "General-purpose lossless data-compression library",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:48+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "zlib",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://zlib.net/",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": "zlib Home Site",
"installs_30d": 13530,
"installs_365d": 773650,
"installs_90d": 47726,
"keg_only": 1,
"keg_only_reason": ":provided_by_macos",
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Zlib",
"llm_generated_at": "2026-06-20T23:44:00+00:00",
"llm_model": "claude-haiku-4-5",
"name": "zlib",
"oldnames": [],
"one_liner": "General-purpose lossless data-compression C library, ubiquitously used in gzip and PNG.",
"optional_dependencies": [],
"rank_30d": 301,
"rank_365d": 82,
"rank_90d": 287,
"raw_hash": "d2356cd18b27b605",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/z/zlib.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.3.2",
"versioned_formulae": [],
"why_use_this": "zlib is a foundational dependency for countless build chains and runtime environments; most systems have it, but Homebrew\u0027s keg-only formula lets you explicitly link against a specific version if macOS\u0027s bundled zlib is insufficient or outdated. Use this when you need reliable deflate/inflate support for custom tools or when building projects that require an exact zlib version."
}