# 使用 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
- **版本:** 0.10.0
- **来源摘要:** Like pigz, but in Rust
- **主页:** <https://github.com/sstadick/crabz>
- **仓库:** <https://github.com/sstadick/crabz>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- crabz (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.10.0
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
