# 安装 zstd

查看 zstd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:zstd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zstd
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zstd
```

  证据: MacPorts ports tree: archivers/zstd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add zstd
```

  证据: Alpine Linux edge package indexes: zstd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install zstd
```

  证据: Debian stable package indexes: zstd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install zstd
```

  证据: Fedora Rawhide package metadata: zstd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#zstd
```

  证据: nixpkgs package indexes: zstd from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S zstd
```

  证据: Arch Linux sync databases: zstd from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install zstd
```

  证据: openSUSE Tumbleweed package metadata: zstd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/zstd
```

  证据: Scoop official bucket manifest trees: bucket/zstd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Meta.Zstandard -e
```

  证据: Windows Package Manager source index: Meta.Zstandard from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:zstd
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zstd>
- **版本:** 1.5.7
- **来源摘要:** Zstandard is a real-time compression algorithm
- **主页:** <https://facebook.github.io/zstd/>
- **仓库:** <https://github.com/facebook/zstd>
- **上游文档:** <https://facebook.github.io/zstd/>
- **许可证:** (BSD-3-Clause OR GPL-2.0-only) AND BSD-2-Clause AND MIT
- **源码归档:** <https://github.com/facebook/zstd/archive/refs/tags/v1.5.7.tar.gz>
- **更新:** 2026-03-20T18:56:32Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- pzstd (cli)
- unzstd (cli)
- zstd (cli)
- zstdcat (cli)
- zstdgrep (cli)
- zstdless (cli)
- zstdmt (cli)
- pzstd (别名)
- unzstd (别名)
- zstd (别名)
- zstdcat (别名)
- zstdgrep (别名)
- zstdless (别名)
- zstdmt (别名)

## 依赖

- lz4
- xz

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 1.5.7
- 管理器更新时间: 2026-03-20
- 本地数据: ok
- 上游仓库: https://github.com/facebook/zstd
- 检测到的最新版本: v1.5.7 (current)

## 安全说明

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

- **Geiger 风险:** blue / medium
- broad file, network, media, or database tool signal

## 相关链接

- [xz](https://www.automicvault.com/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [lz4](https://www.automicvault.com/pkg/brew/lz4/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [node](https://www.automicvault.com/pkg/brew/node/) - Popular package that depends on this formula.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Popular package that depends on this formula.
- [libtiff](https://www.automicvault.com/pkg/brew/libtiff/) - Popular package that depends on this formula.
- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Popular package that depends on this formula.
- [llvm](https://www.automicvault.com/pkg/brew/llvm/) - Popular package that depends on this formula.
- [curl](https://www.automicvault.com/pkg/brew/curl/) - Popular package that depends on this formula.
- [libarchive](https://www.automicvault.com/pkg/brew/libarchive/) - Popular package that depends on this formula.
- [binutils](https://www.automicvault.com/pkg/brew/binutils/) - Popular package that depends on this formula.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
