# 使用 Homebrew, Nix 安装 crabz

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

## 安装

```sh
sudo av install brew:crabz
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install crabz
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#crabz
```

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

## 软件包事实

- **软件包键:** brew:crabz
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/crabz>
- **版本:** 0.10.0
- **来源摘要:** Like pigz, but in Rust
- **主页:** <https://github.com/sstadick/crabz>
- **仓库:** <https://github.com/sstadick/crabz>
- **许可证:** MIT OR Unlicense
- **源码归档:** <https://github.com/sstadick/crabz/archive/refs/tags/v0.10.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- crabz (cli)
- crabz (别名)

## 构建依赖

- cmake
- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.10.0
- 本地数据: OK
- 上游仓库: https://github.com/sstadick/crabz
- 检测到的最新版本: v0.10.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

crabz is a Rust compression and decompression CLI explicitly positioned as similar to pigz.

### 项目历史

The project began as a proof-of-concept command-line wrapper around the author's `gzp` Rust crate. The README describes it as cross-platform and fast, with support for gzip, zlib, mgzip, BGZF, raw deflate, and snap formats.

### 采用历史

crabz is distributed through several package channels documented by the project itself, including Homebrew or Linuxbrew, Debian packages from GitHub releases, Cargo, and conda-forge.

### 使用方式

Users call `crabz` to compress or decompress files, select formats, control compression level, set thread counts, and optionally write in place or to standard output.

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

crabz is notable in packaging circles as a Rust-era counterpart to classic Unix compression tools: one binary, package-manager friendly, and tuned for multi-threaded compression without requiring a custom zlib-ng pigz build.

### 时间线

- v0.1.0: Initial public release series on GitHub.
- v0.10.0: Release series moved to updated Rust compression dependencies and packaging artifacts.

### Related projects

- crabz is directly compared with pigz and is built on the `gzp` library.

### 来源

- <https://github.com/sstadick/crabz#readme>
- <https://github.com/sstadick/crabz/releases>
- <https://crates.io/crates/crabz>
- <https://formulae.brew.sh/formula/crabz>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

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

- Nix - crabz: normalized package name match | nixpkgs package indexes: pkgs/by-name/cr/crabz/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.
- [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.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [ouch](https://pkg.so/zh-hans/brew/ouch/) - Shares pkgdb curated category or tags: cli, compression, decompression, rust, system.
- [lz4](https://pkg.so/zh-hans/brew/lz4/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [lzip](https://pkg.so/zh-hans/brew/lzip/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [lzfse](https://pkg.so/zh-hans/brew/lzfse/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [lzop](https://pkg.so/zh-hans/brew/lzop/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [lizard](https://pkg.so/zh-hans/brew/lizard/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [lzsa](https://pkg.so/zh-hans/brew/lzsa/) - Shares pkgdb curated category or tags: cli, compression, decompression, system.
- [dwarfs](https://pkg.so/zh-hans/brew/dwarfs/) - Shares pkgdb curated category or tags: cli, compression, system.

## Combined YAML source

View the package source record on GitHub. [combined/crabz.yml](https://github.com/mxcl/pkgdb/blob/main/combined/crabz.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
