# 使用 Homebrew, Nix 安装 snzip

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

## 安装

```sh
sudo av install brew:snzip
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install snzip
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#snzip
```

  证据: nixpkgs package indexes: pkgs/by-name/sn/snzip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:snzip
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/snzip>
- **版本:** 1.0.5
- **来源摘要:** Compression/decompression tool based on snappy
- **主页:** <https://github.com/kubo/snzip>
- **仓库:** <https://github.com/kubo/snzip>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://github.com/kubo/snzip/releases/download/v1.0.5/snzip-1.0.5.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- snunzip (cli)
- snzcat (cli)
- snzip (cli)
- snunzip (别名)
- snzcat (别名)
- snzip (别名)

## 依赖

- snappy

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0.5
- 本地数据: OK
- 上游仓库: https://github.com/kubo/snzip
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

snzip is a small command-line compressor and decompressor built around Google's Snappy format family. It matters in package-manager culture because it gives Unix users gzip-like commands, including snzip, snunzip, and snzcat, for Snappy streams and Snappy-adjacent formats.

### 项目历史

The project's NEWS file records an initial experimental release in October 2011. Its 1.0.0 release in November 2013 changed the default output to the official Snappy framing format, moving the tool away from its older native SNZ default and toward interoperability.

Later releases added formats that reflected real-world data interchange needs rather than a broad product agenda: raw Snappy and Hadoop-Snappy support in 2016, Apple iWork .iwa support in 2016, and fixes/install improvements in the 2021 1.0.5 release.

### 采用历史

The package appears in Homebrew and Nix according to the supplied package-manager facts, which is typical for a focused Unix compression utility: it is not a platform by itself, but it is useful enough to keep around when a workflow needs Snappy-compatible files.

### 使用方式

Official usage examples show snzip compressing files to .sz, snunzip and snzcat acting as decompression conveniences, and tar pipelines feeding snzip or receiving snzcat output. The README also documents explicit format selection for framing, raw, Hadoop-Snappy, snappy-java, snappy-in-java, and iWork .iwa.

### 为什么软件包爱好者会关心

Package nerds care about snzip because it is the kind of tiny format bridge that turns a compression library into shell plumbing. It keeps Snappy useful outside application code, especially for archives, Hadoop-era data, and inspection or conversion jobs.

### 时间线

- 2011: Initial experimental release 0.0.1.
- 2013: 1.0.0 changed the default to the official framing format.
- 2016: 1.0.3 added Hadoop-Snappy and raw format support.
- 2016: 1.0.4 added Apple iWork .iwa support.
- 2021: 1.0.5 fixed stdin framing data handling and installed snunzip and snzcat by default.

### Related projects

- snzip is built around Snappy and interoperates with several Snappy file conventions, including the official framing format, Hadoop-Snappy, raw Snappy, and older snappy-java formats.

### 来源

- <https://github.com/kubo/snzip#readme>
- <https://raw.githubusercontent.com/kubo/snzip/master/NEWS>
- source_facts.package-manager


## 安全说明

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

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** snzip
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - snzip: normalized package name match | nixpkgs package indexes: pkgs/by-name/sn/snzip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://pkg.so/zh-hans/archive-compression-tools/) - Matched archive or compression metadata.
- [gzip](https://pkg.so/zh-hans/brew/gzip/) - Shares pkgdb curated category or tags: archive, cli, compression, decompression, system.
- [lunzip](https://pkg.so/zh-hans/brew/lunzip/) - Shares pkgdb curated category or tags: archive, cli, compression, decompression, system.
- [lz4](https://pkg.so/zh-hans/brew/lz4/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [gnu-tar](https://pkg.so/zh-hans/brew/gnu-tar/) - Shares pkgdb curated category or tags: archive, cli, compression, system.
- [libzip](https://pkg.so/zh-hans/brew/libzip/) - Shares pkgdb curated category or tags: archive, cli, compression, system.
- [lzip](https://pkg.so/zh-hans/brew/lzip/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [p7zip](https://pkg.so/zh-hans/brew/p7zip/) - Shares pkgdb curated category or tags: archive, cli, compression, system.
- [unar](https://pkg.so/zh-hans/brew/unar/) - Shares pkgdb curated category or tags: archive, cli, compression, system.
- [lizard](https://pkg.so/zh-hans/brew/lizard/) - Local package facts share a topical domain. Shared terms: archive, cli, compression, decompression, system.
- [ouch](https://pkg.so/zh-hans/brew/ouch/) - Local package facts share a topical domain. Shared terms: archive, cli, compression, decompression, system.
- [crabz](https://pkg.so/zh-hans/brew/crabz/) - Local package facts share a topical domain. Shared terms: cli, compression, decompression, system.

## Combined YAML source

View the package source record on GitHub. [combined/snzip.yml](https://github.com/mxcl/pkgdb/blob/main/combined/snzip.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
