Categories: TutorialsUbuntu

Terminalizer – Tool to record terminal sessions, create animated gif on Linux

Terminalizer is one of the highly customizable CLI tool. It is an open source and cross platform tool. It is widely used because of its customization feature that records the terminal session task and used to make animated GIF images too. It has many other features such as changing background fonts, title, color, editing frames, adding watermarks and many more.

In this article, we are going to install Terminalizer on Ubuntu 20.04 LTS. Steps involved for the installation are discussed below.

Installation of Node.js and npm

To install terminalizer, first install Node.js by following the below command:

Lets update the system first with command:

$

Sponsored
sudo apt update

Then install the node.js from the ubuntu repositories with the below command:

$ sudo apt install nodejs -y

Output:

To verify the installation of Node.js, run the command as below:

$ nodejs --version

Now, install npm that is the package manager for Node.js

$ sudo apt install npm

To verify the installation of node.js, run the command as below:

$ npm --version

Installation of terminalizer

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

Using the terminalizer

To use terminalizer, First run the test file in the current directory with the following command:

Sponsored
$ terminalizer record test

Output:

After executing the command, you will see the output as shown in the above screenshot. You can run some commands then press ctrl+D to save the recording as a YAML file. Here, it is recorded as 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

Output:

Creating animated Gif

You can create a animated Gif of the terminal session with the following command:

Here, we are trying to create a animated Gif for our terminal session with file name test.yml

$ sudo terminalizer render test

Output:

Animated Gif image that is created with the above command can be found on this location.

You will get the animated gif with the program default settings for our terminal session of the test file.

Conclusion

In this article, we learn to install and use the terminalizer which helps to record the terminal session and create an animated Gif. Thank you!

Ubuntu Server Admin

Recent Posts

Canonical Releases Ubuntu 25.04 Plucky Puffin

The latest interim release of Ubuntu introduces “devpacks” for popular frameworks like Spring, along with…

2 days ago

Ubuntu 25.04 (Plucky Puffin) Released

Ubuntu 25.04, codenamed “Plucky Puffin”, is here. This release continues Ubuntu’s proud tradition of integrating…

3 days ago

Extended Security Maintenance for Ubuntu 20.04 (Focal Fossa) begins May 29, 2025

Ubuntu released its 20.04 (Focal Fossa) release 5 years ago, on March 23, 2020. As…

3 days ago

Ubuntu 20.04 LTS End Of Life – activate ESM to keep your fleet of devices secure and operational

Focal Fossa will reach the End of Standard Support in May 2025, also known as…

4 days ago

Ubuntu MATE 25.04 Release Notes

Ubuntu MATE 25.04 is ready to soar! 🪽 Celebrating our 10th anniversary as an official…

4 days ago

Ubuntu Weekly Newsletter Issue 887

Welcome to the Ubuntu Weekly Newsletter, Issue 887 for the week of April 6 –…

5 days ago