2018-11-06 20:48:31 +01:00
|
|
|

|
2018-11-06 21:06:01 +01:00
|
|
|
|
2018-11-06 21:05:44 +01:00
|
|
|
[](https://travis-ci.org/sharkdp/hexyl)
|
2018-11-06 22:26:26 +01:00
|
|
|
[](https://crates.io/crates/hexyl)
|
|
|
|
|

|
2018-11-05 23:59:46 +01:00
|
|
|
|
2018-11-06 21:34:46 +01:00
|
|
|
`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).
|
|
|
|
|
|
2018-11-06 21:19:00 +01:00
|
|
|
## Preview
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
2018-11-06 21:43:50 +01:00
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
2020-03-09 21:05:26 +01:00
|
|
|
### On Ubuntu
|
|
|
|
|
|
|
|
|
|
*... and other Debian-based Linux distributions.*
|
|
|
|
|
|
|
|
|
|
If you run Ubuntu 19.10 (Eoan Ermine) or newer, you can install the [officially maintained package](https://packages.ubuntu.com/eoan/hexyl):
|
|
|
|
|
```bash
|
|
|
|
|
sudo apt install hexyl
|
|
|
|
|
```
|
|
|
|
|
If you use an older version of Ubuntu, you can download
|
|
|
|
|
the latest `.deb` package from the release page and install it via:
|
2018-11-06 21:43:50 +01:00
|
|
|
|
|
|
|
|
``` bash
|
2020-03-09 21:05:26 +01:00
|
|
|
sudo dpkg -i hexyl_0.7.0_amd64.deb # adapt version number and architecture
|
2018-11-06 21:43:50 +01:00
|
|
|
```
|
|
|
|
|
|
2020-03-09 21:05:26 +01:00
|
|
|
### On Debian
|
|
|
|
|
|
|
|
|
|
If you run Debian Buster or newer, you can install the [officially maintained Debian package](https://packages.debian.org/buster/hexyl):
|
|
|
|
|
```bash
|
|
|
|
|
sudo apt-get install hexyl
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
If you run an older version of Debian, see above for instructions on how to
|
|
|
|
|
manually install `hexyl`.
|
|
|
|
|
|
2018-11-08 19:56:06 +01:00
|
|
|
### On Arch Linux
|
|
|
|
|
|
2019-03-16 20:42:38 +01:00
|
|
|
You can install `hexyl` from [the official package repository](https://www.archlinux.org/packages/community/x86_64/hexyl/):
|
2018-11-08 00:20:13 +08:00
|
|
|
|
|
|
|
|
```
|
2019-03-16 20:42:38 +01:00
|
|
|
pacman -S hexyl
|
2018-11-08 00:20:13 +08:00
|
|
|
```
|
|
|
|
|
|
2019-01-07 11:34:37 +09:00
|
|
|
### On macOS
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
brew install hexyl
|
|
|
|
|
```
|
2018-11-08 00:20:13 +08:00
|
|
|
|
2019-01-09 21:32:01 +01:00
|
|
|
### On FreeBSD
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
pkg install hexyl
|
|
|
|
|
```
|
|
|
|
|
|
2019-01-14 13:19:02 -08:00
|
|
|
### Via Nix
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
nix-env -i hexyl
|
|
|
|
|
```
|
|
|
|
|
|
2018-11-12 08:40:05 +01:00
|
|
|
### On other distributions
|
2018-11-06 21:43:50 +01:00
|
|
|
|
|
|
|
|
Check out the [release page](https://github.com/sharkdp/hexyl/releases) for binary builds.
|
|
|
|
|
|
2019-01-10 08:32:46 +01:00
|
|
|
### On Windows
|
|
|
|
|
|
2019-10-08 20:52:54 +02:00
|
|
|
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 ConHost v2 since Windows 10 1703
|
|
|
|
|
or Windows Terminal since Windows 10 1903).
|
2019-01-10 08:32:46 +01:00
|
|
|
|
2018-11-06 21:43:50 +01:00
|
|
|
### Via cargo
|
|
|
|
|
|
2020-04-30 09:08:41 +02:00
|
|
|
If you have Rust 1.36 or higher, you can install `hexyl` from source via `cargo`:
|
2018-11-06 21:43:50 +01:00
|
|
|
```
|
|
|
|
|
cargo install hexyl
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
Licensed under either of
|
|
|
|
|
|
|
|
|
|
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
|
|
|
|
|
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
|
|
|
|
|
|
|
|
|
|
at your option.
|