# 使用 Homebrew, Nix, zypper 安装 hexd

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

## 安装

```sh
sudo av install brew:hexd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hexd
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#hexd
```

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

- zypper (92%):

```sh
sudo zypper install hexd
```

  证据: openSUSE Tumbleweed package metadata: hexd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:hexd
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/hexd>
- **版本:** 1.1.0
- **来源摘要:** Colourful, human-friendly hexdump tool
- **主页:** <https://github.com/FireyFly/hexd>
- **仓库:** <https://github.com/FireyFly/hexd>
- **许可证:** MIT
- **源码归档:** <https://github.com/FireyFly/hexd/archive/refs/tags/v1.1.0.tar.gz>
- **最后更新:** 2026-08-02T00:19:39+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- hexd (cli)
- hexd (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.1.0
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://github.com/FireyFly/hexd
- 检测到的最新版本: v1.1.0 (当前)
## 项目历史与用法

hexd is a small C hexdump tool that uses color to make byte-value patterns easier to see in terminal output.

### 项目历史

The GitHub repository was created in December 2013 and describes hexd as a colorful, human-friendly hexdump tool. Its man page, dated February 2022, documents the stable CLI shape: file or stdin input, optional plaintext or pretty output, grouping, ranges, width control, and repeated-line collapsing.

### 采用历史

The project is packaged by Homebrew from the GitHub tag archive, and the input package metadata also records Nix and zypper package names. Its small C codebase and manpage-style interface make it a straightforward Unix package.

### 使用方式

hexd prints a human-readable dump of files or standard input. It classifies byte ranges with terminal colors, honors an HEXD_COLORS environment variable for SGR formatting, and includes range selection examples for inspecting embedded file regions or comparing binary headers.

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

hexd is the kind of tiny single-purpose CLI package that package managers collect well: it does not replace hexdump, od, or xxd, but offers a visual inspection trick that is useful enough to ship as a separate executable.

### 时间线

- 2013: GitHub repository created.
- 2022: man page documents hexd's colorized dump interface and HEXD_COLORS environment variable.
- 2026: Homebrew formula packages the v1.1.0 GitHub tag archive.

### Related projects

- The man page lists hexdump, od, and xxd as related tools. The README also points to pixd, by the same author, as a related visualization tool for binary data.

### 来源

- <https://formulae.brew.sh/formula/hexd>
- <https://github.com/FireyFly/hexd>
- <https://raw.githubusercontent.com/FireyFly/hexd/master/hexd.1>


## 安全说明

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:** hexd
- **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 - hexd: normalized package name match | nixpkgs package indexes: pkgs/by-name/he/hexd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - hexd - 1.1.0-1.15: normalized package name match | openSUSE Tumbleweed package metadata: hexd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Colourful, human-friendly hexdump tool | https://github.com/FireyFly/hexd.git


## 相关链接

- [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.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [fzy](https://pkg.so/zh-hans/brew/fzy/) - Shares pkgdb curated category or tags: c, cli, developer-tools, terminal.
- [hexedit](https://pkg.so/zh-hans/brew/hexedit/) - Shares pkgdb curated category or tags: binary, cli, developer-tools, terminal.
- [notcurses](https://pkg.so/zh-hans/brew/notcurses/) - Shares pkgdb curated category or tags: c, cli, developer-tools, terminal.
- [mle](https://pkg.so/zh-hans/brew/mle/) - Shares pkgdb curated category or tags: c, cli, developer-tools, terminal.
- [ascii2binary](https://pkg.so/zh-hans/brew/ascii2binary/) - Shares pkgdb curated category or tags: binary, c, cli, developer-tools.
- [hexcurse](https://pkg.so/zh-hans/brew/hexcurse/) - Shares pkgdb curated category or tags: binary, c, cli, developer-tools.
- [hyx](https://pkg.so/zh-hans/brew/hyx/) - Shares pkgdb curated category or tags: c, cli, developer-tools, terminal.
- [clpbar](https://pkg.so/zh-hans/brew/clpbar/) - Shares pkgdb curated category or tags: c, cli, developer-tools, terminal.
- [hgrep](https://pkg.so/zh-hans/brew/hgrep/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, friendly, human.
- [choose-rust](https://pkg.so/zh-hans/brew/choose-rust/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, friendly, human.

## Combined YAML source

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