heksa

Colorized hex dumper for inspecting binary files with syntax highlighting

brewmacoslinux
Try with needOr install directly
Source

About

CLI hex dumper with colors

Commands

heksa

Examples

Dump a binary file in hex format with colors$ heksa /path/to/file
View only the first 256 bytes of a file$ heksa -n 256 /path/to/file
Dump binary data from stdin$ cat /path/to/file | heksa