A command-line hex viewer
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci Add ci scripts Nov 6, 2018
doc Update logo Nov 8, 2018
src Add proper Ctrl-C handling Jan 14, 2019
.gitignore Initial working version of a hex viewer Nov 5, 2018
.travis.yml Re-enable Windows build Jan 9, 2019
Cargo.lock Bump version Jan 14, 2019
Cargo.toml Bump version Jan 14, 2019
LICENSE-APACHE Initial working version of a hex viewer Nov 5, 2018
LICENSE-MIT Initial working version of a hex viewer Nov 5, 2018
README.md Add Nix install instructions to README.md Jan 14, 2019

README.md

Build Status

hexyl is a simple hex viewer for the terminal. It uses a colored output to distinguish different categories of bytes (NULL bytes, printable ASCII characters, ASCII whitespace characters, other ASCII characters and non-ASCII).

Preview

Installation

On Debian-based systems

wget "https://github.com/sharkdp/hexyl/releases/download/v0.4.0/hexyl_0.4.0_amd64.deb"
sudo dpkg -i hexyl_0.4.0_amd64.deb

On Arch Linux

You can install hexyl from this AUR package:

yay -S hexyl

On macOS

brew install hexyl

On FreeBSD

pkg install hexyl

Via Nix

nix-env -i hexyl

On other distributions

Check out the release page for binary builds.

On Windows

For now, you will have to install from source via cargo (see below). Make sure that you use a terminal that supports ANSI escape sequences (like PowerShell on Windows 10).

Via cargo

If you have Rust 1.29 or higher, you can install hexyl from source via cargo:

cargo install hexyl

License

Licensed under either of

at your option.