tio

Simple TTY terminal I/O application for serial port communication.

brewmacoslinux
Try with needOr install directly
Source

About

Simple TTY terminal I/O application

Commands

tio

Examples

connect to serial port and view output$ tio /dev/ttyUSB0
open serial port with custom baud rate$ tio -b 115200 /dev/ttyUSB0
list available serial ports$ tio --list
connect to serial port and log output to file$ tio -o logfile.txt /dev/ttyUSB0
communicate with microcontroller over USB serial$ tio /dev/ttyACM0