🍺 BREW Explorer

← all formulae

zlib-ng-compat

brew install zlib-ng-compat v2.3.3_1 Zlib keg-only

High-performance zlib-compatible C compression library optimized for modern CPUs.

Why you might care

Drop-in replacement for the system zlib with better speed on modern hardware through SIMD optimizations. Useful when building software that compresses/decompresses frequently or when distributing binaries that need faster gzip/deflate. Keg-only since macOS includes zlib; install this if you're compiling code that benefits from the speedup.

Categories

Alternatives

zlib brotli zstd
101.4k
30-day installs · #39
374.0k
90-day · #37
617.2k
365-day · #110
2.0k
★ GitHub stars · updated today

Build dependencies

GitHub topics

c compression deflate inflate library optimized zlib zlib-license zlib-ng zlib-replacement

Links

Keg-only reason

:shadowed_by_macos — macOS provides zlib

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "zlib",
    "brotli",
    "zstd"
  ],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [
    "library",
    "compression"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Zlib replacement with optimizations for next generation systems",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:37+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "zlib-ng-compat",
  "github_default_branch": "develop",
  "github_last_commit_at": "2026-06-20T21:31:05Z",
  "github_readme_excerpt": "| CI | Stable | Develop |\n|:---|:-------|:--------|\n| GitHub Actions | [![Stable CMake](https://github.com/zlib-ng/zlib-ng/actions/workflows/cmake.yml/badge.svg?branch=stable)](https://github.com/zlib-ng/zlib-ng/actions/workflows/cmake.yml?query=branch%3Astable) \u003cbr\u003e [![Stable Configure](https://github.com/zlib-ng/zlib-ng/actions/workflows/configure.yml/badge.svg?branch=stable)](https://github.com/zlib-ng/zlib-ng/actions/workflows/configure.yml?query=branch%3Astable) | [![Develop CMake](https://github.com/zlib-ng/zlib-ng/actions/workflows/cmake.yml/badge.svg?branch=develop)](https://github.com/zlib-ng/zlib-ng/actions/workflows/cmake.yml?query=branch%3Adevelop) \u003cbr\u003e [![Develop Configure](https://github.com/zlib-ng/zlib-ng/actions/workflows/configure.yml/badge.svg?branch=develop)](https://github.com/zlib-ng/zlib-ng/actions/workflows/configure.yml?query=branch%3Adevelop) |\n| CodeFactor     | [![CodeFactor](https://www.codefactor.io/repository/github/zlib-ng/zlib-ng/badge/stable)](https://www.codefactor.io/repository/github/zlib-ng/zlib-ng/overview/stable) | [![CodeFactor](https://www.codefactor.io/repository/github/zlib-ng/zlib-ng/badge/develop)](https://www.codefactor.io/repository/github/zlib-ng/zlib-ng/overview/develop) |\n| OSS-Fuzz       | [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/zlib-ng.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened\u0026can=1\u0026q=proj:zlib-ng) | [![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/zlib-ng.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened\u0026can=1\u0026q=proj:zlib-ng) |\n| Coveralls      | [![Coverage Status](https://coveralls.io/repos/github/zlib-ng/zlib-ng/badge.svg?branch=stable)](https://coveralls.io/github/zlib-ng/zlib-ng?branch=stable) | [![Coverage Status](https://coveralls.io/repos/github/zlib-ng/zlib-ng/badge.svg?branch=develop)](https://coveralls.io/github/zlib-ng/zlib-ng?branch=develop) |\n\n## zlib-ng\n*zlib data compression library for the",
  "github_repo": "zlib-ng/zlib-ng",
  "github_stars": 2031,
  "github_topics": [
    "c",
    "compression",
    "deflate",
    "inflate",
    "library",
    "optimized",
    "zlib",
    "zlib-license",
    "zlib-ng",
    "zlib-replacement"
  ],
  "homepage": "https://github.com/zlib-ng/zlib-ng",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 101398,
  "installs_365d": 617170,
  "installs_90d": 374037,
  "keg_only": 1,
  "keg_only_reason": ":shadowed_by_macos \u2014 macOS provides zlib",
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Zlib",
  "llm_generated_at": "2026-06-20T23:42:18+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "zlib-ng-compat",
  "oldnames": [],
  "one_liner": "High-performance zlib-compatible C compression library optimized for modern CPUs.",
  "optional_dependencies": [],
  "rank_30d": 39,
  "rank_365d": 110,
  "rank_90d": 37,
  "raw_hash": "c44aee664b3e542c",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/z/zlib-ng-compat.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "2.3.3",
  "versioned_formulae": [],
  "why_use_this": "Drop-in replacement for the system zlib with better speed on modern hardware through SIMD optimizations. Useful when building software that compresses/decompresses frequently or when distributing binaries that need faster gzip/deflate. Keg-only since macOS includes zlib; install this if you\u0027re compiling code that benefits from the speedup."
}