🍺 BREW Explorer

← all formulae

lz4

brew install lz4 v1.10.0 BSD-2-Clause

LZ4 is a C compression library and command-line tool optimized for speed over ratio, trading compression density for extremely fast encode/decode.

Why you might care

Use lz4 when you need real-time compression for logs, metrics, or streaming data—it's orders of magnitude faster than gzip while still compressing reasonably well. It's the standard choice for in-memory caching layers, message queues, and performance-critical pipelines. Single-binary CLI tool and embeddable C library.

Categories

Alternatives

gzip zstd brotli snappy
171.8k
30-day installs · #15
655.5k
90-day · #11
2.1M
365-day · #16

Links

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

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "gzip",
    "zstd",
    "brotli",
    "snappy"
  ],
  "build_dependencies": [],
  "categories": [
    "compression",
    "library"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Extremely Fast Compression algorithm",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:36+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "lz4",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://lz4.github.io/lz4/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "LZ4 - Extremely fast compression",
  "installs_30d": 171820,
  "installs_365d": 2060815,
  "installs_90d": 655483,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-2-Clause",
  "llm_generated_at": "2026-06-20T23:42:08+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "lz4",
  "oldnames": [],
  "one_liner": "LZ4 is a C compression library and command-line tool optimized for speed over ratio, trading compression density for extremely fast encode/decode.",
  "optional_dependencies": [],
  "rank_30d": 15,
  "rank_365d": 16,
  "rank_90d": 11,
  "raw_hash": "6366b4d43175b774",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/l/lz4.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.10.0",
  "versioned_formulae": [],
  "why_use_this": "Use lz4 when you need real-time compression for logs, metrics, or streaming data\u2014it\u0027s orders of magnitude faster than gzip while still compressing reasonably well. It\u0027s the standard choice for in-memory caching layers, message queues, and performance-critical pipelines. Single-binary CLI tool and embeddable C library."
}