Automic VaultAutomic Vault

brew

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

Zstandard is a real-time compression algorithm. Version 1.5.7 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install zstd

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install zstd

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

Linux

Alpine Linux apkverified · 92%
sudo apk add zstd

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

Debian aptverified · 92%
sudo apt install zstd

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

Fedora dnfverified · 92%
sudo dnf install libzstd

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

Nixverified · 92%
nix profile install nixpkgs#zstd

nixpkgs package indexes · zstd · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S zstd

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

openSUSE zypperverified · 92%
sudo zypper install libzstd-devel

openSUSE Tumbleweed package metadata · libzstd-devel · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/zstd

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

Windows Package Managerverified · 92%
winget install --id Meta.Zstandard -e

Windows Package Manager source index · Meta.Zstandard · source: cdn.winget.microsoft.com

overview

Package summary

Zstandard is a real-time compression algorithm

Commands and aliases

  • pzstd
  • unzstd
  • zstd
  • zstdcat
  • zstdgrep
  • zstdless
  • zstdmt

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2016-08-31: Facebook announced Zstandard 1.0.
  • 2017: ZSTD support entered Btrfs documentation as available since Linux 4.14.
  • 2018-12-19: Meta engineering published notes on large-scale storage improvements with Zstandard.
  • 2021: RFC 8878 documented the Zstandard format and application/zstd media type.
  • 2025-02: zstd 1.5.7 changelog entry records CLI, API, performance, and portability work.
  • 2025-12: zstd 1.6.0 changelog entry records legacy-format support disabled by default.

Related projects

  • Related projects include zlib, gzip, Deflate, lz4, xz, Brotli, Finite State Entropy, Huff0, Btrfs, SquashFS, libarchive-style tooling, and language bindings listed from the Zstandard homepage.

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 8 platform targets.
  • Installs with 2 runtime dependencies.
  • 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
pzstdcliglobal executable
unzstdcliglobal executable
zstdcliglobal executable
zstdcatcliglobal executable
zstdgrepcliglobal executable
zstdlesscliglobal executable
zstdmtcliglobal 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.5.7
manager updated
local dataok
upstreamcurrent
latest detectedv1.5.7

https://github.com/facebook/zstd

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

install metadata

Package metadata

Package keybrew:zstd
Version1.5.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/zstd
Homepagehttps://facebook.github.io/zstd/
Repositoryhttps://github.com/facebook/zstd
Upstream docshttps://facebook.github.io/zstd
License(BSD-3-Clause OR GPL-2.0-only) AND BSD-2-Clause AND MIT
Source archivehttps://github.com/facebook/zstd/archive/refs/tags/v1.5.7.tar.gz
Dependencieslz4, xz
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namezstd
Aliases
  • pzstd
Version Scheme0
Revision1
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%

zstd 1.5.7+dfsg-1

fast lossless compression algorithm -- CLI tool

https://github.com/facebook/zstd

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

zstd

nix profile install nixpkgs#zstd
  • normalized package name match
  • Matched by: Zstd
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: zstd from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

zstd 1.5.5+dfsg2-2build1

fast lossless compression algorithm -- CLI tool

https://github.com/facebook/zstd

sudo apt install zstd
  • Section: utils
  • Architecture: amd64
  • Source Package: libzstd
  • 6 dependencies
  • normalized package name match
  • Matched by: Zstd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zstd from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

zstd 1.5.7-r2

Zstandard - Fast real-time compression algorithm

https://facebook.github.io/zstd/

sudo apk add zstd
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

zstd-dev 1.5.7-r2

Zstandard - Fast real-time compression algorithm (development files)

https://facebook.github.io/zstd/

sudo apk add zstd-dev
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

zstd-doc 1.5.7-r2

Zstandard - Fast real-time compression algorithm (documentation)

https://facebook.github.io/zstd/

sudo apk add zstd-doc
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • normalized package name match
  • Matched by: Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

zstd-frugal 1.5.7-r2

Zstandard - Fast real-time compression algorithm (frugal cli)

https://facebook.github.io/zstd/

sudo apk add zstd-frugal
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd-frugal from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

zstd-libs 1.5.7-r2

Zstandard - Fast real-time compression algorithm (libraries)

https://facebook.github.io/zstd/

sudo apk add zstd-libs
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

zstd-static 1.5.7-r2

Zstandard - Fast real-time compression algorithm (static library)

https://facebook.github.io/zstd/

sudo apk add zstd-static
  • License: BSD-3-Clause OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: zstd
  • normalized package name match
  • Matched by: Zstd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zstd-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libzstd 1.5.7-5.fc44

Zstd shared library

https://github.com/facebook/zstd

sudo dnf install libzstd
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zstd
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Zstd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libzstd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libzstd-devel 1.5.7-5.fc44

Header files for Zstd library

https://github.com/facebook/zstd

sudo dnf install libzstd-devel
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zstd
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Zstd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libzstd-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libzstd-static 1.5.7-5.fc44

Static variant of the Zstd library

https://github.com/facebook/zstd

sudo dnf install libzstd-static
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zstd
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zstd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libzstd-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

zstd 1.5.7-5.fc44

Zstd compression library

https://github.com/facebook/zstd

sudo dnf install zstd
  • License: BSD-3-Clause OR GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: zstd
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zstd
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zstd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

zstd 1.5.7-3

Zstandard - Fast real-time compression algorithm

https://facebook.github.io/zstd/

sudo pacman -S zstd
  • License: BSD-3-Clause AND GPL-2.0-only
  • Architecture: x86_64
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zstd
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: zstd from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

libzstd-devel 1.5.7-4.2

Development files for the Zstd compression library

https://github.com/facebook/zstd

sudo zypper install libzstd-devel
  • License: BSD-3-Clause AND GPL-2.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: zstd
  • 3 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Zstd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libzstd-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libzstd-devel-32bit 1.5.7-4.2

Development files for the Zstd compression library

https://github.com/facebook/zstd

sudo zypper install libzstd-devel-32bit
  • License: BSD-3-Clause AND GPL-2.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: zstd
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zstd
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libzstd-devel-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

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