The tool that allows you to record your Linux terminal screen is titled ‘asciinema’ and you can download it completely for free from Github.
In order to use it, you will have to follow the instructions that are provided on the project page of asciinema, one of the awesome things it provides is the feature to playback recordings via the web.
If you cannot wait, and want to have the tool now. Simply follow the instructions below.
Installation via PIP
sudo pip3 install asciinema
Installation via SNAP
snap install asciinema --classic
Official installation instructions