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
|
|
|
|
|
|
|
|
|
|
### On Debian-based systems
|
|
|
|
|
|
|
|
|
|
``` bash
|
2019-04-13 18:39:34 +02:00
|
|
|
wget "https://github.com/sharkdp/hexyl/releases/download/v0.5.0/hexyl_0.5.0_amd64.deb"
|
|
|
|
|
sudo dpkg -i hexyl_0.5.0_amd64.deb
|
2018-11-06 21:43:50 +01:00
|
|
|
```
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
2018-11-06 21:43:50 +01:00
|
|
|
### Via cargo
|
|
|
|
|
|
2019-04-13 18:25:12 +02:00
|
|
|
If you have Rust 1.31 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.
|