# 使用 Homebrew, Nix, winget 安装 hevi

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

## 安装

```sh
sudo av install brew:hevi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hevi
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#hevi
```

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

### Windows

- winget (92%):

```sh
winget install --id Arnau478.hevi -e
```

  证据: Windows Package Manager source index: Arnau478.hevi from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:hevi
- **软件包管理器:** Homebrew
- **版本:** 1.1.0
- **来源摘要:** Hex viewer
- **主页:** <https://codeberg.org/arnauc/hevi>
- **最后更新:** 2026-07-16T12:50:32Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- hevi (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

hevi is a Zig hex viewer that presents itself as a simpler, more colorful alternative to tools such as xxd and hexdump.

### 项目历史

The project describes hevi as a hex viewer written in Zig in an attempt to simplify hex viewers. Its release stream on Codeberg shows early 0.x releases in 2023 and 1.x releases in 2024, while the repository metadata records the Codeberg project page as the official source-control home.

### 采用历史

hevi's own README points users to packaged builds where available and to Codeberg releases or zig build otherwise. The Homebrew formula packages the Codeberg release archive, and the input package metadata also records Nix and winget package names.

### 使用方式

The tool is used as hevi <file> with flags controlling color, offset display, ASCII display, skipped repeated lines, raw output, parser selection, and palette output. It supports NO_COLOR and a Ziggy config file for defaults and palettes.

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

hevi is interesting to package collectors as a small Zig entrant in the long-running hex-viewer space: it keeps the familiar terminal hexdump shape, adds parser-aware highlighting for formats such as ELF and PE, and uses XDG/AppData configuration rather than only command-line flags.

### 时间线

- 2023: v0.1.0 release published on the Codeberg release feed.
- 2024: v1.0.0 and v1.1.0 releases published on Codeberg.
- 2026: Homebrew formula packages the v1.1.0 Codeberg archive.

### Related projects

- The README explicitly compares hevi with xxd and hexdump. Its parser-aware highlighting places it near modern hex viewers rather than full-screen hex editors.

### 来源

- <https://codeberg.org/api/v1/repos/arnauc/hevi/releases>
- <https://codeberg.org/arnauc/hevi>
- <https://formulae.brew.sh/formula/hevi>


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $XDG_CONFIG_HOME/hevi/config.ziggy, ~/.config/hevi/config.ziggy
- Windows: %APPDATA%/hevi/config.ziggy
## 其他软件包管理器记录

- Nix - hevi: normalized package name match | nixpkgs package indexes: pkgs/by-name/he/hevi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - Arnau478.hevi: normalized package name match | Windows Package Manager source index: Arnau478.hevi from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
