macOS
brew install brotlilocal Homebrew formula metadata
sudo port install brotliMacPorts ports tree · archivers/brotli/Portfile · source: api.github.com
brew
Generic-purpose lossless compression algorithm by Google. Version 1.2.0 via Homebrew; verified from local package data.
install
brew install brotlilocal Homebrew formula metadata
sudo port install brotliMacPorts ports tree · archivers/brotli/Portfile · source: api.github.com
sudo apk add brotliAlpine Linux edge package indexes · brotli · source: dl-cdn.alpinelinux.org
sudo apt install brotliDebian stable package indexes · brotli · source: deb.debian.org
sudo dnf install brotliFedora Rawhide package metadata · brotli · source: dl.fedoraproject.org
nix profile install nixpkgs#brotlinixpkgs package indexes · pkgs/by-name/br/brotli/package.nix · source: api.github.com
sudo pacman -S brotliArch Linux sync databases · brotli · source: geo.mirror.pkgbuild.com
sudo zypper install brotliopenSUSE Tumbleweed package metadata · brotli · source: download.opensuse.org
scoop install main/brotliScoop official bucket manifest trees · bucket/brotli.json · source: api.github.com
winget install --id Google.Brotli -eWindows Package Manager source index · Google.Brotli · source: cdn.winget.microsoft.com
overview
Generic-purpose lossless compression algorithm by Google
history
Brotli is Google's general-purpose lossless compression format and reference implementation. It became especially important on the web through the `br` HTTP content coding and through WOFF2 font compression, making the Homebrew `brotli` CLI both a developer utility and a packaging handle for a web-platform primitive.
Google announced Brotli as an open-source compression algorithm in September 2015, positioning it as a successor in spirit to Zopfli but with a new data format rather than Deflate compatibility. The announcement credited the format's density to context modeling, entropy-code reuse, a larger sliding window, and a static dictionary, and noted that the name means small bread in Swiss German.
The IETF published RFC 7932 in July 2016 as the authoritative specification for the Brotli compressed data format. The RFC defines a lossless format using LZ77 and Huffman coding, notes that the format is independent of CPU and operating system, registers the `br` HTTP content coding, and records Brotli as an integral part of WOFF 2.0.
Brotli adoption moved quickly from Google's open-source release into browser and server infrastructure. Chrome Platform Status tracks the `Accept-Encoding: br` feature for HTTPS connections, and RFC 7932's IANA registration made `br` the standard content-coding token.
Package-manager adoption is unusually broad because Brotli is both an end-user CLI and a build/runtime dependency for web servers, language bindings, font pipelines, browsers, and package ecosystems. The input package facts list Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, Winget, and openSUSE packages.
The command-line tool compresses and decompresses files, while the library is used by HTTP servers, CDNs, browsers, package managers, build systems, and font tooling. In web deployment, Brotli is commonly used for precompressed static assets or dynamic HTTPS responses advertised with `Content-Encoding: br`.
Brotli is package-nerd catnip because it is a tiny-looking formula with enormous transitive significance: installable as one CLI, but embedded in the web stack as a standard content coding. It is also a reminder that compression tools are not just archivers; they become protocol features, browser compatibility questions, build-pipeline knobs, and distro security-maintenance surfaces.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
brotli | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/google/brotli
install metadata
| Package key | brew:brotli |
|---|---|
| Version | 1.2.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/brotli |
| Homepage | https://github.com/google/brotli |
| Repository | https://github.com/google/brotli |
| Upstream docs | https://github.com/google/brotli#readme |
| License | MIT |
| Source archive | https://github.com/google/brotli/archive/refs/tags/v1.2.0.tar.gz |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | brotli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
brotli 1.1.0-2+b7
lossless compression algorithm and format (command line utility)
https://github.com/google/brotli
sudo apt install brotlilibbrotli-dev 1.1.0-2+b7
library implementing brotli encoder and decoder (development files)
https://github.com/google/brotli
sudo apt install libbrotli-devlibbrotli1 1.1.0-2+b7
library implementing brotli encoder and decoder (shared libraries)
https://github.com/google/brotli
sudo apt install libbrotli1python3-brotli 1.1.0-2+b7
lossless compression algorithm and format (Python 3 version)
https://github.com/google/brotli
sudo apt install python3-brotlibrotli
nix profile install nixpkgs#brotlibrotli 1.1.0-2build2
lossless compression algorithm and format (command line utility)
https://github.com/google/brotli
sudo apt install brotlilibbrotli-dev 1.1.0-2build2
library implementing brotli encoder and decoder (development files)
https://github.com/google/brotli
sudo apt install libbrotli-devlibbrotli1 1.1.0-2build2
library implementing brotli encoder and decoder (shared libraries)
https://github.com/google/brotli
sudo apt install libbrotli1python3-brotli 1.1.0-2build2
lossless compression algorithm and format (Python 3 version)
https://github.com/google/brotli
sudo apt install python3-brotlibrotli 1.2.0-r1
Generic lossless compressor
https://github.com/google/brotli
sudo apk add brotlibrotli-dev 1.2.0-r1
Generic lossless compressor (development files)
https://github.com/google/brotli
sudo apk add brotli-devbrotli-doc 1.2.0-r1
Generic lossless compressor (documentation)
https://github.com/google/brotli
sudo apk add brotli-docbrotli-libs 1.2.0-r1
Generic lossless compressor (libraries)
https://github.com/google/brotli
sudo apk add brotli-libsbrotli-static 1.2.0-r1
Generic lossless compressor (static library)
https://github.com/google/brotli
sudo apk add brotli-staticpy3-brotli 1.2.0-r1
Generic lossless compressor (python bindings)
https://github.com/google/brotli
sudo apk add py3-brotlipy3-brotli-pyc 1.2.0-r1
Precompiled Python bytecode for py3-brotli
https://github.com/google/brotli
sudo apk add py3-brotli-pycsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.