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.
sudo pip3 install asciinema
snap install asciinema --classic