macOS
brew install zstdlocal Homebrew formula metadata
sudo port install zstdMacPorts ports tree · archivers/zstd/Portfile · source: api.github.com
brew
Zstandard is a real-time compression algorithm. Version 1.5.7 via Homebrew; verified from local package data.
install
brew install zstdlocal Homebrew formula metadata
sudo port install zstdMacPorts ports tree · archivers/zstd/Portfile · source: api.github.com
sudo apk add zstdAlpine Linux edge package indexes · zstd · source: dl-cdn.alpinelinux.org
sudo apt install zstdDebian stable package indexes · zstd · source: deb.debian.org
sudo dnf install libzstdFedora Rawhide package metadata · libzstd · source: dl.fedoraproject.org
nix profile install nixpkgs#zstdnixpkgs package indexes · zstd · source: raw.githubusercontent.com
sudo pacman -S zstdArch Linux sync databases · zstd · source: geo.mirror.pkgbuild.com
sudo zypper install libzstd-developenSUSE Tumbleweed package metadata · libzstd-devel · source: download.opensuse.org
scoop install main/zstdScoop official bucket manifest trees · bucket/zstd.json · source: api.github.com
winget install --id Meta.Zstandard -eWindows Package Manager source index · Meta.Zstandard · source: cdn.winget.microsoft.com
overview
Zstandard is a real-time compression algorithm
history
Zstandard, usually packaged as zstd, is Meta's fast general-purpose lossless compression format, C library, and command-line tool. It targets zlib-class compression ratios with much faster compression and decompression, plus tunable levels and dictionary training.
Zstandard was developed at Facebook by Yann Collet and collaborators as a modern successor in the design space occupied by Deflate, gzip, zlib, lz4, and xz. Meta announced Zstandard 1.0 on 2016-08-31, describing it as a compression algorithm and implementation designed for modern CPUs, high decompression speed, and a broad range of lossless-compression scenarios.
The reference implementation lives in the facebook/zstd repository as a C library and CLI. The README describes a stable format, the libzstd API, the zstd command-line utility, support for producing and decoding .zst plus compatibility with .gz, .xz, and .lz4 files, and a list of ports and bindings for other languages.
The format moved from a popular open-source implementation into a documented Internet format. RFC 8878 describes Zstandard compression and registers the application/zstd media type, content encoding, and structured syntax suffix for transporting zstd-compressed content.
zstd spread because it hit a package-maintainer sweet spot: faster decompression than gzip-class tools, better ratio than many fast compressors, a stable file format, and a normal Unix CLI. That combination made it attractive for source archives, package payloads, container layers, log compression, backup streams, and embedded compression inside larger systems.
Filesystem adoption gave zstd particular visibility among system users. Btrfs documentation records ZSTD support since Linux 4.14 alongside ZLIB and LZO, and Meta engineering later wrote about transparent zstd compression in Btrfs as a way to improve storage efficiency without a noticeable performance drop in its environment.
The project stayed active rather than freezing at the format layer. The changelog shows continuing work through the 1.5.x series and a 1.6.0 entry in Dec 2025, including CLI, API, build-system, portability, and performance improvements.
The package gives users commands such as zstd, unzstd, zstdcat, zstdgrep, zstdless, pzstd, and zstdmt. Common shell usage mirrors gzip-style workflows: compress a file or stream to .zst, decompress with unzstd or zstd -d, pipe through zstdcat, and tune level or --fast modes for speed/ratio trade-offs.
For developers, libzstd exposes one-shot compression/decompression, reusable contexts, streaming APIs, dictionaries, frame inspection, and advanced experimental APIs. The README also documents dictionary training with zstd --train for small repeated records, a major reason zstd appears in data stores and network protocols rather than only in file archivers.
zstd is one of the rare compression packages that matters at every packaging layer: as a user-facing CLI, a shared library dependency, an archive format, a filesystem compressor, and a performance knob inside build and distribution infrastructure.
For package nerds it is also a case study in successful infrastructure standardization: a vendor-originated tool became a stable RFC-described format with independent implementations, many bindings, and broad distribution support while retaining the boring Unix ergonomics expected from gzip-era tools.
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 |
|---|---|---|---|
pzstd | cli | global executable | |
unzstd | cli | global executable | |
zstd | cli | global executable | |
zstdcat | cli | global executable | |
zstdgrep | cli | global executable | |
zstdless | cli | global executable | |
zstdmt | 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/facebook/zstd
install metadata
| Package key | brew:zstd |
|---|---|
| Version | 1.5.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/zstd |
| Homepage | https://facebook.github.io/zstd/ |
| Repository | https://github.com/facebook/zstd |
| Upstream docs | https://facebook.github.io/zstd |
| License | (BSD-3-Clause OR GPL-2.0-only) AND BSD-2-Clause AND MIT |
| Source archive | https://github.com/facebook/zstd/archive/refs/tags/v1.5.7.tar.gz |
| Dependencies | lz4, xz |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | zstd |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 1 |
| 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.
zstd 1.5.7+dfsg-1
fast lossless compression algorithm -- CLI tool
https://github.com/facebook/zstd
sudo apt install zstdzstd
nix profile install nixpkgs#zstdzstd 1.5.5+dfsg2-2build1
fast lossless compression algorithm -- CLI tool
https://github.com/facebook/zstd
sudo apt install zstdzstd 1.5.7-r2
Zstandard - Fast real-time compression algorithm
https://facebook.github.io/zstd/
sudo apk add zstdzstd-dev 1.5.7-r2
Zstandard - Fast real-time compression algorithm (development files)
https://facebook.github.io/zstd/
sudo apk add zstd-devzstd-doc 1.5.7-r2
Zstandard - Fast real-time compression algorithm (documentation)
https://facebook.github.io/zstd/
sudo apk add zstd-doczstd-frugal 1.5.7-r2
Zstandard - Fast real-time compression algorithm (frugal cli)
https://facebook.github.io/zstd/
sudo apk add zstd-frugalzstd-libs 1.5.7-r2
Zstandard - Fast real-time compression algorithm (libraries)
https://facebook.github.io/zstd/
sudo apk add zstd-libszstd-static 1.5.7-r2
Zstandard - Fast real-time compression algorithm (static library)
https://facebook.github.io/zstd/
sudo apk add zstd-staticlibzstd 1.5.7-5.fc44
Zstd shared library
https://github.com/facebook/zstd
sudo dnf install libzstdlibzstd-devel 1.5.7-5.fc44
Header files for Zstd library
https://github.com/facebook/zstd
sudo dnf install libzstd-devellibzstd-static 1.5.7-5.fc44
Static variant of the Zstd library
https://github.com/facebook/zstd
sudo dnf install libzstd-staticzstd 1.5.7-5.fc44
Zstd compression library
https://github.com/facebook/zstd
sudo dnf install zstdzstd 1.5.7-3
Zstandard - Fast real-time compression algorithm
https://facebook.github.io/zstd/
sudo pacman -S zstdlibzstd-devel 1.5.7-4.2
Development files for the Zstd compression library
https://github.com/facebook/zstd
sudo zypper install libzstd-devellibzstd-devel-32bit 1.5.7-4.2
Development files for the Zstd compression library
https://github.com/facebook/zstd
sudo zypper install libzstd-devel-32bitsource 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.