hyx

Powerful hex editor for viewing and editing binary files in the terminal.

brewmacoslinux
Try with needOr install directly
Source

About

Powerful hex editor for the console

Commands

hyx

Examples

open a binary file and edit it in hex view$ hyx /path/to/file.bin
view hex dump of a file without modifying it$ hyx -r /path/to/file.bin
edit specific bytes in a binary file$ hyx /path/to/executable
inspect raw data from a network packet or image file$ hyx image.jpg
find and replace hex patterns in a file$ hyx /path/to/file.bin