BILLYSOFTACADEMY

[Solved] How to record your Linux Terminal and generate animated GIFs using Terminalizer

If you’re looking for a way to record your Linux terminal and generate animated GIFs, Terminalizer is the perfect tool for you. It’s an open-source command line utility that enables users to capture their terminal sessions and turn them into beautiful, shareable GIFs. With Terminalizer, you can easily document your development process and share it with others in a visually appealing way. In this article, we’ll show you how to use Terminalizer to record your Linux terminal and generate animated GIFs.

Introduction: What is Terminalizer & Why You Should Use it for Recording Your Linux Terminal

Terminalizer is a free, open-source tool that allows you to record your Linux terminal sessions and share them with others. It is a great way to quickly show someone how to do something in the terminal, or even just for sharing what you are working on with others. With Terminalizer, you can easily create beautiful recordings of your terminal sessions that can be shared with others. You can also use it to save time by replaying long and complex commands without having to type them out again. Terminalizer makes it easy for anyone to record their terminal session and share it with the world!

Overview

1) Download and install Node.js as well as npm
2) Use npm to install terminalizer
3) Record and playback a terminal session
4) Generate a recording file as an animated gif image
5) Share a recorded terminal session.

Step 1: Download and install Node.js as well as npm

The first step to complete this setup is to download and install Node.js as well as npm. Copy and paste into your terminal the commands below:

Step 2: Use NPM to install terminalizer

You can now use npm to install the terminalizer utility. Run the commands below to install it:
To check the version of terminalizer that you have just installed, execute the command below:
For advanced configurations you need to generate a terminalizer configuration file. Copy, paste and run the command below to generate the config file:

Step 3: Record and playback a terminal session.

To start a screen recording of your command line interface, run the terminalizer command shown below. You can give the recording any name that you would like:

You will get the output:

“The recording session has started.
Press Ctrl + D to exit and save the recording.”

You can now start to type in the commands that you would like to record. Once you are finished recording press CONTROL + D on your keyboard to save the recording as a yml file.

To play back a screen recording on your command line interface, run the following command:

Step 4: Generate a recording file as an animated gif image

Terminalizer can also generate a recording file as an animated gif image. Run the command below to generate a GIF:
You can connect to your server using an FTP client to copy the generated gif file and share it with your users or publish it on a blog or technical support forum.

Step 5: Share a recorded terminal session

Terminalizer also has a built in feature that makes it possible to share a recording to the Terminalizer Explore Page. 

Go to https://terminalizer.com/explore and sign up for a user account. Return to your command line interface and run the command below:

Terminalizer will prompt you to enter some information about the recording that you are sharing such as the title and the description for the recording. If this is the first time that your are sharing a recording, Terminalizer will need to link your terminalizer account. Copy the link displayed in your command line interface into a browser, and click Press any key to continue to allow terminalizer to upload your recording. Once the upload is complete, terminalizer will share a link for you to view your recording.

Please ensure that you keep your terminalizer token private. Also note that terminalizer recordings are publicly shared by default. Ensure that you do not expose any private information such as credentials and personally identifiable information.