This article covers how to install Terminalizer which is a terminal recording tool on a Linux distribution of your choice, you will be able to conveniently record all your terminal-related activities.
Terminalizer is a fancy and highly customizable CLI tool that records and renders terminal activity and can make an animated GIF image from it.
It can work well on Ubuntu, CentOS, Arch Linux, SUSE, RedHat, Fedora, and so on.
How to perform the Installation of terminalizer on Linux systems ?
To install the terminalizer, run the following command:
$ sudo npm install -g terminalizer
In the higher version of Node.js, there might be a failure of installation. In such a case, let's install the developer tools to compile the C++ add-ons.
$ sudo apt install build-essential
To verify the installation of development tools, run the following command:
$ gcc -v
$ make -v
How to use the terminalizer ?
To use terminalizer, First run the test file in the current directory with the following command:
$ terminalizer record test
You can run some commands then press ctrl+D to save the recording as a YAML file (test.yml).
Now, you can play the recording by running the below command that shows all the history of the command running on that session:
$ terminalizer play test
How to Create animated Gif ?
You can create a animated Gif of the terminal session with the following command:
$ sudo terminalizer render test
Here, we are trying to create a animated Gif for our terminal session with file name test.yml.
You will get the animated gif with the program default settings for our terminal session of the test file.
To install Node.js on Ubuntu:
1. update your system.
$ apt update
2. Next, run the command below to install Node.js from the repositories.
$ apt install node.js
3. Upon successful installation of node.js, you can verify the version of Node.js using the command as shown.
$ nodejs --version