# 使用 Homebrew, apk, apt, Nix 安装 hyx

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

## 安装

```sh
sudo av install brew:hyx
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hyx
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add hyx
```

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

- Debian apt (92%):

```sh
sudo apt install hyx
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#hyx
```

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

## 软件包事实

- **软件包键:** brew:hyx
- **软件包管理器:** Homebrew
- **版本:** 2026.01.11
- **来源摘要:** Powerful hex editor for the console
- **主页:** <https://yx7.cc/code/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- hyx (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

hyx is a small terminal hex editor distributed from the author's yx7.cc code page and packaged by Homebrew, Debian-family distributions, Nix, and Alpine. Its niche is the familiar package-manager slot occupied by compact command-line tools: a single executable, written in C, with vim-like editing for binary files.

### 项目历史

The project is published as dated source tarballs from yx7.cc rather than as an advertised public source-control repository. The author describes it as a minimalistic but powerful terminal hex editor, with hex and ASCII views, insert and replace modes, copy and paste, undo and redo, search, colors, and vim-inspired controls.

Ubuntu's packaged manpage documents the same command-line identity: hyx opens an optional filename, supports command input on standard input, and exposes editor-style commands for movement, saving, searching, and toggling color.

### 采用历史

hyx's adoption pattern is that of a small Unix utility: downstream package managers track the upstream tarball, and users get a single terminal command rather than a larger editor suite. Homebrew analytics show modest use, which fits an editor aimed at people who occasionally inspect or patch binary data from the shell.

### 使用方式

The tool is used when a developer or systems operator wants an interactive hex editor without opening a graphical application. Its command set favors users who already understand modal terminal editors and need byte-level editing, offset jumps, hex-string searches, and quick save/quit commands.

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

hyx is package-nerd interesting because it is a deliberately tiny C utility that still offers quality-of-life features often missing from minimalist hex dump tools. It sits between non-interactive tools such as hexdump or xxd and heavier full-screen binary editors.

### 时间线

- 2021: Ubuntu packaged hyx 2021.06.09 with a manpage describing its vim-like terminal workflow.
- 2026: Homebrew tracked the 2026.01.11 upstream tarball from yx7.cc.

### Related projects

- Related tools include hexdump, xxd, hexyl, bvi, and graphical hex editors; hyx is closest to small terminal editors that prioritize direct byte editing over analysis features.

### 来源

- <https://formulae.brew.sh/formula/hyx>
- <https://manpages.ubuntu.com/manpages/stonking/man1/hyx.1.html>
- <https://yx7.cc/code>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - hyx - 2021.06.09-1+b1: normalized package name match | Debian stable package indexes: hyx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | minimalistic but powerful vim-like hex editor | https://yx7.cc/code/
- Nix - hyx: normalized package name match | nixpkgs package indexes: pkgs/by-name/hy/hyx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - hyx - 2021.06.09-1: normalized package name match | Ubuntu 24.04 LTS package indexes: hyx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | minimalistic but powerful vim-like hex editor | https://yx7.cc/code/
- apk - hyx - 2024.02.29-r0: normalized package name match | Alpine Linux edge package indexes: hyx from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Minimalistic, but powerful console hex editor | https://yx7.cc/code/
- apk - hyx-doc - 2024.02.29-r0: normalized package name match | Alpine Linux edge package indexes: hyx-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Minimalistic, but powerful console hex editor (documentation) | https://yx7.cc/code/


## Combined YAML source

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