nano

Simple, user-friendly text editor for command-line editing

brewmacoslinux
Try with needOr install directly
Source

About

Free (GNU) replacement for the Pico text editor

Commands

nano

Examples

Open a file for editing$ nano myfile.txt
Create and edit a new file$ nano newfile.md
Edit a file with line numbers displayed$ nano -l myfile.txt