Automic VaultAutomic Vault

brew

Install brotli with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Generic-purpose lossless compression algorithm by Google. Version 1.2.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install brotli

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install brotli

MacPorts ports tree · archivers/brotli/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add brotli

Alpine Linux edge package indexes · brotli · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install brotli

Debian stable package indexes · brotli · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install brotli

Fedora Rawhide package metadata · brotli · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#brotli

nixpkgs package indexes · pkgs/by-name/br/brotli/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S brotli

Arch Linux sync databases · brotli · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install brotli

openSUSE Tumbleweed package metadata · brotli · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/brotli

Scoop official bucket manifest trees · bucket/brotli.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id Google.Brotli -e

Windows Package Manager source index · Google.Brotli · source: cdn.winget.microsoft.com

overview

Package summary

Generic-purpose lossless compression algorithm by Google

Commands and aliases

  • brotli

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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`.

Why package nerds care

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.

Timeline

  • 2013: Google publishes Zopfli, the Deflate-compatible predecessor cited in the Brotli announcement.
  • 2015-09-22: Google announces and open-sources Brotli.
  • 2016: Chrome Platform Status tracks `Accept-Encoding: br` for HTTPS connections.
  • 2016-07: RFC 7932 publishes the Brotli compressed data format and registers the `br` HTTP content coding.
  • 2020s: Brotli is packaged broadly across Unix, Windows, and language ecosystems.

Related projects

  • Related compression projects include Zopfli, zlib/Deflate/gzip, zstd, LZMA/xz, bzip2, libdeflate, and WOFF2 tooling. Brotli's closest historical sibling is Zopfli, while its web-deployment peer is gzip and its modern compression peer is often zstd.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:compress

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
brotlicliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.2.0
manager updated
local dataok
upstreamcurrent
latest detectedv1.2.0

https://github.com/google/brotli

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:brotli
Version1.2.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/brotli
Homepagehttps://github.com/google/brotli
Repositoryhttps://github.com/google/brotli
Upstream docshttps://github.com/google/brotli#readme
LicenseMIT
Source archivehttps://github.com/google/brotli/archive/refs/tags/v1.2.0.tar.gz
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebrotli
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

brotli 1.1.0-2+b7

lossless compression algorithm and format (command line utility)

https://github.com/google/brotli

sudo apt install brotli
  • Section: utils
  • Architecture: amd64
  • Source Package: brotli
  • 2 dependencies
  • normalized package name match
  • Matched by: Brotli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: brotli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbrotli-dev 1.1.0-2+b7

library implementing brotli encoder and decoder (development files)

https://github.com/google/brotli

sudo apt install libbrotli-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: brotli
  • 1 dependencies
  • normalized package name match
  • Matched by: Brotli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbrotli-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbrotli1 1.1.0-2+b7

library implementing brotli encoder and decoder (shared libraries)

https://github.com/google/brotli

sudo apt install libbrotli1
  • Section: libs
  • Architecture: amd64
  • Source Package: brotli
  • 1 dependencies
  • normalized package name match
  • Matched by: Brotli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbrotli1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-brotli 1.1.0-2+b7

lossless compression algorithm and format (Python 3 version)

https://github.com/google/brotli

sudo apt install python3-brotli
  • Section: python
  • Architecture: amd64
  • Source Package: brotli
  • 2 dependencies
  • normalized package name match
  • Matched by: Brotli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-brotli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

brotli

nix profile install nixpkgs#brotli
  • normalized package name match
  • Matched by: Brotli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/br/brotli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

brotli 1.1.0-2build2

lossless compression algorithm and format (command line utility)

https://github.com/google/brotli

sudo apt install brotli
  • Section: universe/python
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Brotli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: brotli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libbrotli-dev 1.1.0-2build2

library implementing brotli encoder and decoder (development files)

https://github.com/google/brotli

sudo apt install libbrotli-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: brotli
  • 1 dependencies
  • normalized package name match
  • Matched by: Brotli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbrotli-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libbrotli1 1.1.0-2build2

library implementing brotli encoder and decoder (shared libraries)

https://github.com/google/brotli

sudo apt install libbrotli1
  • Section: libs
  • Architecture: amd64
  • Source Package: brotli
  • 1 dependencies
  • normalized package name match
  • Matched by: Brotli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbrotli1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

python3-brotli 1.1.0-2build2

lossless compression algorithm and format (Python 3 version)

https://github.com/google/brotli

sudo apt install python3-brotli
  • Section: universe/python
  • Architecture: amd64
  • Source Package: brotli
  • 2 dependencies
  • normalized package name match
  • Matched by: Brotli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-brotli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

brotli 1.2.0-r1

Generic lossless compressor

https://github.com/google/brotli

sudo apk add brotli
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: brotli from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

brotli-dev 1.2.0-r1

Generic lossless compressor (development files)

https://github.com/google/brotli

sudo apk add brotli-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: brotli-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

brotli-doc 1.2.0-r1

Generic lossless compressor (documentation)

https://github.com/google/brotli

sudo apk add brotli-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • normalized package name match
  • Matched by: Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: brotli-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

brotli-libs 1.2.0-r1

Generic lossless compressor (libraries)

https://github.com/google/brotli

sudo apk add brotli-libs
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: brotli-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

brotli-static 1.2.0-r1

Generic lossless compressor (static library)

https://github.com/google/brotli

sudo apk add brotli-static
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • normalized package name match
  • Matched by: Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: brotli-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

py3-brotli 1.2.0-r1

Generic lossless compressor (python bindings)

https://github.com/google/brotli

sudo apk add py3-brotli
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-brotli from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

py3-brotli-pyc 1.2.0-r1

Precompiled Python bytecode for py3-brotli

https://github.com/google/brotli

sudo apk add py3-brotli-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • 1 dependencies
  • normalized package name match
  • Matched by: Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-brotli-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment