tweak

Ncurses-based hex editor for viewing and editing binary files

brewmacoslinux
Try with needOr install directly
Source

About

Command-line, ncurses library based hex editor

Commands

tweak

Examples

Open a binary file for hex editing$ tweak /path/to/binary/file
Edit a specific offset in a file$ tweak -o 0x100 /path/to/file
Open a file in read-only mode$ tweak -r /path/to/file