dhex

Ncurses-based advanced hex editor with diff mode and syntax highlighting

brewmacoslinux
Try with needOr install directly
Source

About

Ncurses based advanced hex editor featuring diff mode and more

Commands

dhex

Examples

Open a file in hex editor$ dhex /path/to/file
Compare two files in diff mode$ dhex -c file1 file2
Open file in read-only mode$ dhex -r /path/to/file