screen

Terminal multiplexer to run multiple shells in one session

brewmacoslinux
Try with needOr install directly
Source

About

Terminal multiplexer with VT100/ANSI terminal emulation

Commands

screen

Examples

start a new terminal session that I can reconnect to later$ screen
run a long process and disconnect without stopping it$ screen -d -m npm start
list all my active terminal sessions$ screen -ls
reconnect to a detached session by name$ screen -r myproject
split terminal window into multiple panes$ screen -S mysession && C-a S