# Install hexyl with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Command-line hex viewer. Version 0.17.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:hexyl
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hexyl
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hexyl
```

  Evidence: MacPorts ports tree: sysutils/hexyl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add hexyl
```

  Evidence: Alpine Linux edge package indexes: hexyl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install hexyl
```

  Evidence: Debian stable package indexes: hexyl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install hexyl
```

  Evidence: Fedora Rawhide package metadata: hexyl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#hexyl
```

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

- pacman (92%):

```sh
sudo pacman -S hexyl
```

  Evidence: Arch Linux sync databases: hexyl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install hexyl
```

  Evidence: openSUSE Tumbleweed package metadata: hexyl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/hexyl
```

  Evidence: Scoop official bucket manifest trees: bucket/hexyl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id sharkdp.hexyl -e
```

  Evidence: Windows Package Manager source index: sharkdp.hexyl from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:hexyl
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/hexyl>
- **Version:** 0.17.0
- **Source summary:** Command-line hex viewer
- **Homepage:** <https://github.com/sharkdp/hexyl>
- **Repository:** <https://github.com/sharkdp/hexyl>
- **Upstream docs:** <https://github.com/sharkdp/hexyl#readme>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/sharkdp/hexyl/archive/refs/tags/v0.17.0.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- hexyl (cli)
- hexyl (alias)

## Build dependencies

- pandoc
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.17.0
- Local data: ok
- Upstream repository: https://github.com/sharkdp/hexyl
- Upstream latest detected: v0.17.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

hexyl is a Rust command-line hex viewer for terminals. It distinguishes byte classes with color, making binary inspection more readable than a plain hex dump while staying in the small-CLI-tool tradition.

### Project history

The GitHub repository was created in November 2018, and crates.io metadata records publication of the hexyl crate the following day. The README describes the core idea: terminal hex output colored by byte category, including null bytes, printable ASCII, ASCII whitespace, other ASCII, and non-ASCII bytes.

The project fits the style of sharkdp's Rust CLI tools: focused scope, polished terminal output, cross-platform packaging, and cargo-based installation. Its repository metadata, README badges, and dual MIT/Apache-2.0 licensing align it with Rust ecosystem norms.

### Adoption history

The README documents a broad packaging footprint: Ubuntu, Debian, Fedora, Arch, Void, Gentoo overlay, Homebrew, MacPorts, BSD package systems, Termux, Nix, Guix, cargo, snap, Scoop, and binary release downloads. That unusually wide install surface is central to its adoption story.

The batch metadata independently lists many package-manager names, including apk, brew, Debian/Ubuntu, dnf, MacPorts, Nix, pacman, Scoop, winget, and zypper, confirming that hexyl spread well beyond cargo users.

### How it is used

hexyl is used for inspecting binary files in a terminal when color helps identify structure quickly. Unlike an editor, it is primarily a viewer; users reach for it when they want readable offsets, byte values, and a character panel without opening a full binary editor.

Configuration is intentionally light: the README documents environment variables for the colors used by each byte category and the offset column. That keeps package-manager installs simple while still letting terminal users tune output to their color scheme.

### Why package nerds care

hexyl is significant to package nerds because it is a modern, Rust-native counterpart to classic tools such as xxd and hexdump. It demonstrates how a tiny CLI can gain wide distribution when it is easy to build, easy to package, and solves an everyday terminal inspection problem with better defaults.

It is also a good example of the Rust CLI packaging pipeline: crate publication for cargo users, binary release artifacts, distro packages, Homebrew/MacPorts ports, and Windows package-manager entries all describing the same small executable.

### Timeline

- 2018-11: GitHub repository metadata records creation of sharkdp/hexyl.
- 2018-11: crates.io records the hexyl crate.
- 2019: README packaging notes include Ubuntu 19.10 and Debian Buster as distribution package baselines.
- 2021: README packaging notes include Fedora 35 as a distribution package baseline.
- 2020s: Package-manager metadata shows expansion across Linux distributions, macOS package managers, Windows package managers, BSDs, Termux, Nix, Guix, snap, and cargo.

### Related projects

- Related tools include xxd, hexdump/od, hexer, bvi, hexhog, and GUI hex editors. In the same Rust terminal-tool family, sharkdp projects such as bat and fd are relevant comparators for packaging and adoption patterns.

### Sources

- GitHub README describes byte-class coloring, installation methods, Windows terminal notes, cargo installation, environment-variable configuration, and licensing.
- Homebrew formula metadata and the input package-manager map support the package-manager adoption summary.
- crates.io metadata supplies crate publication, repository, and package identity.


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** hexyl
- **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

## Other Package-Manager Records

- Debian apt - hexyl - 0.8.0-2+b13: normalized package name match | Debian stable package indexes: hexyl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line hex viewer with colored output | https://github.com/sharkdp/hexyl
- Nix - hexyl: normalized package name match | nixpkgs package indexes: pkgs/by-name/he/hexyl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - hexyl - 0.8.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: hexyl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line hex viewer with colored output | https://github.com/sharkdp/hexyl
- apk - hexyl - 0.17.0-r0: normalized package name match | Alpine Linux edge package indexes: hexyl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line hex viewer with colored output | https://github.com/sharkdp/hexyl
- dnf - hexyl - 0.14.0-7.fc44: normalized package name match | Fedora Rawhide package metadata: hexyl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Command-line hex viewer | https://crates.io/crates/hexyl
- pacman - hexyl - 0.17.0-1: normalized package name match | Arch Linux sync databases: hexyl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Colored command-line hex viewer | https://github.com/sharkdp/hexyl
- zypper - hexyl - 0.17.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: hexyl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A command-line hex viewer | https://github.com/sharkdp/hexyl
- MacPorts - hexyl: normalized package name match | MacPorts ports tree: sysutils/hexyl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/hexyl: normalized package name match | Scoop official bucket manifest trees: bucket/hexyl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - sharkdp.hexyl: normalized package name match | Windows Package Manager source index: sharkdp.hexyl from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [pandoc](https://www.automicvault.com/pkg/brew/pandoc/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [hexhog](https://www.automicvault.com/pkg/brew/hexhog/) - Shares av.db curated category or tags: binary-files, cli, developer-tools, hex-viewer.
- [action-validator](https://www.automicvault.com/pkg/brew/action-validator/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [agent-browser](https://www.automicvault.com/pkg/brew/agent-browser/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [bacon](https://www.automicvault.com/pkg/brew/bacon/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [bacon-ls](https://www.automicvault.com/pkg/brew/bacon-ls/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [bindgen](https://www.automicvault.com/pkg/brew/bindgen/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [bob](https://www.automicvault.com/pkg/brew/bob/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [buffrs](https://www.automicvault.com/pkg/brew/buffrs/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [fblog](https://www.automicvault.com/pkg/brew/fblog/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, developer, developer-tools, line.
- [git-graph](https://www.automicvault.com/pkg/brew/git-graph/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, developer, developer-tools, line.

## Combined YAML source

View the package source record on GitHub. [combined/hexyl.yml](https://github.com/automic-vault/db/blob/main/combined/hexyl.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
