Terminalizer – Record Your Linux Terminal and Generate Animated GIF

Terminalizer is a free, open source, simple, highly customizable and cross-platform program to record your Linux terminal session and generate animated gif images or share a web player.

It comes with custom: window frames, fonts, colors, styles with CSS; supports watermark; allows you to edit frames and adjust delays before rendering. It also supports rendering of images with texts on them as opposed to capturing your screen which offers better quality.

Read Also: 8 Best Linux Desktop Screen Recording Tools

In addition, you can also configure many other settings such as the command to capture, GIF quality and repeating, cursor style, theme, letter spacing, line height, frames delays and much more.

Terminalizer - Record Linux Terminal and Generate Animated Gif Images
Terminalizer – Record Linux Terminal and Generate Animated Gif Images

How to Install and Use Terminalizer in Linux

To install Terminalizer, first you need to install Node.js and then install the tool globally using the following command.

# npm install -g terminalizer
$ sudo npm install -g terminalizer

The installation should be very easy with Node.js v10 or lower. For newer versions, if the installation is failed, you may need to install the development tools to build the C++ add-ons.

Once the installation completes, you can start recording your Linux terminal using the record command as shown.

# terminalizer record test
Record Linux Terminal Session
Record Linux Terminal Session

To logout of the recording session, press CTRL+D or terminate the program using CTRL+C.

After stopping the recording, a new file called test.yml will be created in the current working directory. You can open it using any editor to edit the configurations and the recorded frames. You can replay your recording using the play command as shown.

# ls -l test.yml
# terminalizer play test
Replay Recorded Linux Terminal Session
Replay Recorded Linux Terminal Session

To render your recording as an animated gif, use the render command as shown.

# terminalizer render test

Use the generate command to create/generate a web player for a recording file.

# terminalizer generate test

Last but not least, to create a global configuration directory, use the init command. You can also customize it using the config.yml file.

# terminalizer init
Create a global config directory
Create a global config directory

To get more details about all the commands and their options, run.

# terminalizer --help

For more information, go to the Terminalizer Githug repository: https://github.com/faressoft/terminalizer.

That’s all! Terminalizer is a very useful program to record your Linux terminal session and generate animated gif images or share a web player. If you have any questions, feel free to reach us via the comment form below.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

11 thoughts on “Terminalizer – Record Your Linux Terminal and Generate Animated GIF”

  1. This sounds like a VERY useful tool but I’m running Fedora Core 30 x86_64 and it’s not in the repository.

    What do I do? Are rpm’s available?


  2. Getting following error when try to install

    Node v10.15.1
    Npm 6.4.1
    $sudo npm install -g terminalizer
    Sample Output
    /usr/local/bin/terminalizer -> /usr/local/lib/node_modules/terminalizer/bin/app.js
    > [email protected] install /usr/local/lib/node_modules/terminalizer/
    > prebuild-install || node scripts/install.js
    prebuild-install WARN install EACCES: permission denied, access '/home/ankur/.npm'
    gyp ERR! configure error 
    gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/
    gyp ERR! System Linux 4.15.0-45-generic
    gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/
    bin/node-gyp.js" "rebuild" "--build_v8_with_gn=false"
    gyp ERR! cwd /usr/local/lib/node_modules/terminalizer/node_modules/node-pty-prebuilt
    gyp ERR! node -v v10.15.1
    gyp ERR! node-gyp -v v3.8.0
    gyp ERR! not ok 
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! [email protected] install: `prebuild-install || node scripts/install.js`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the [email protected] install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/ankur/.npm/_logs/2019-02-02T05_57_42_071Z-debug.log
    • Your reply is awful and worthless. Why did you not state the alternative tools if you know some? Otherwise, your reply just makes you look snide and arrogant. Why not be polite?

  3. Really thanks for sharing this useful tool, I was looking for such tool since long time to record my Linux terminal courses and lessons in my university.

    thanks again.


Leave a Reply to KPW Cancel reply

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.