Record your terminal in style with asciinema
asciinema is a free and open source solution for recording terminal sessions and sharing them on the web.
Ever wanted to show a colleague or friend how to do something in command line and show them the steps and yet not only allowing them to see the steps but also copy the commands from your terminal recording?
Enter https://asciinema.org/
To install this on MacOS and record your terminal do this,
brew install asciinema
To record your screen type this,
asciinema rec
This spawns a new shell instance and records all terminal output. When you’re ready to finish simply exit the shell either by typing exit or hitting Ctrl-D.
Go to https://asciinema.org/docs/installation to install on other platforms.