🍺 BREW Explorer

← all formulae

xz

brew install xz v5.8.3 0BSD AND GPL-2.0-or-later

High-compression data archiver and decompressor in C, achieving better ratios than gzip at the cost of slower speed.

Why you might care

Use xz when compression ratio matters more than speed—typical in distribution of large source tarballs, kernel images, or long-term storage. It's a standard POSIX tool available on most Linux systems, and many package managers (including Homebrew) rely on it internally. The xz format supports parallel compression and extensive configuration of the LZMA2 algorithm.

Categories

Alternatives

gzip bzip2 zstd 7zip
286.6k
30-day installs · #6
1.2M
90-day · #3
3.6M
365-day · #4

Links

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

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "gzip",
    "bzip2",
    "zstd",
    "7zip"
  ],
  "build_dependencies": [],
  "categories": [
    "compression",
    "archiver"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "General-purpose data compression with high compression ratio",
  "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": "xz",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://tukaani.org/xz/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "XZ Utils",
  "installs_30d": 286614,
  "installs_365d": 3579832,
  "installs_90d": 1190583,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "0BSD AND GPL-2.0-or-later",
  "llm_generated_at": "2026-06-20T23:42:04+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "xz",
  "oldnames": [],
  "one_liner": "High-compression data archiver and decompressor in C, achieving better ratios than gzip at the cost of slower speed.",
  "optional_dependencies": [],
  "rank_30d": 6,
  "rank_365d": 4,
  "rank_90d": 3,
  "raw_hash": "9df58fafcd9c7402",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/x/xz.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "5.8.3",
  "versioned_formulae": [],
  "why_use_this": "Use xz when compression ratio matters more than speed\u2014typical in distribution of large source tarballs, kernel images, or long-term storage. It\u0027s a standard POSIX tool available on most Linux systems, and many package managers (including Homebrew) rely on it internally. The xz format supports parallel compression and extensive configuration of the LZMA2 algorithm."
}