hexer

Terminal-based hex editor with vi-like keybindings and navigation

brewmacoslinux
Try with needOr install directly
Source

About

Hex editor for the terminal with vi-like interface

Commands

hexer

Examples

Open a file for hex editing$ hexer /path/to/file
Create and edit a new binary file$ hexer newfile.bin
View and modify specific bytes in a file with vi-style commands$ hexer firmware.img