Record and share your terminal sessions, the right way. asciinema
(aka asciinema CLI or asciinema recorder) is a command-line tool for recording terminal sessions.
Unlike typical screen recording software, which records visual output of a screen into a heavyweight video files (.mp4, .mov), asciinema recorder runs inside a terminal, capturing terminal session output into a lightweight recording files in the asciicast format (.cast).