10 Tools to Generate and Have Fun With ASCII Art in Linux Terminal

Think Linux terminal is all about serious work? Think again. Here are a few fun things you can do with ASCII art in the terminal.
Warp Terminal

Linux terminal is not as scary as you think.

Of course, it could be intimidating in the beginning but once you know the terminal better, you start loving it.

You are likely to use the terminal for serious work. But there are many fun stuff you can do in the terminal as well.

One of them is experimenting with ASCII art. You can display predefined or random messages, play games, or run some animation in ASCII format in the Linux terminal using various command line tools.

My teammate Sreenath likes to explore such unusual CLI tools and share his findings with me. I am sharing those findings with you.

ascii art tools linux

Most of these programs should be available in the repositories of your Linux distribution. You can use your system’s package manager to install them. To keep the article concise, I have only included the installation instructions for Ubuntu.

1. lolcat: Add colors to your terminal

Alright! lolcat doesn’t have anything to do with ASCII art. At least not directly.

Still, I included it at the beginning of this article because you can combine other ASCII tools with lolcat.

So, what does it do? It is similar to the cat command but it adds random gradient colors to its output.


It may not look useful at the moment but you’ll see its impact when the outputs of other ASCII tools are piped through lolcat.

Install lolcat with the apt command:

sudo apt install lolcat

2. Aewan: Display ASCII text beautifully

Aewan is a multi-layered ASCII graphics/animation editor. It produces stand-alone cat-able ASCII art files and an easy-to-parse format for integration into terminal applications.

It has two tools: aewan, an ASCII editor and aecat, for viewing the created file.

I am not going to discuss the editor part here.

aewan initial layout
Aewan ASCII editor

To display any text in pretty ASCII format, you need the aecat command. Notice the use of letters in the screenshot below.

aewan output

To install aewan use the following command:

sudo apt install aewan

And then use it like this:

aecat hello

3. Cowsay: Make an ASCII cow say whatever you want

What does the cow say? Whatever you want it to say.

The cowsay is already a popular tool among seasoned Linux users. It shows an ASCII cow that repeats the text you provide it.


But you are not restricted to cows only. You can change it to several other characters as well. Like a dragon (burning King’s landing):


Did you notice the colored output in the above screenshot? That’s the magic of the lolcat command I mentioned earlier.

To install cowsay, use:

sudo apt install cowsay

Once installed, you can use it like this:

cowsay hello

You can refer to this article for additional configuration and options.

Using Cowsay Linux Command Like a Pro
The cowsay is a fun little Linux command line utility that can be enjoyed in so many ways. Here are several examples.

4. jp2a: Convert images into ASCII art

jp2a is a command-line tool that converts images to ASCII art in the Linux terminal. It works with JPEG and PNG files. It also allows colored output and your selection of character set to appear as ASCII image.


You can install it using the following command:

sudo apt install jp2a

You can get the colorful output and save the ASCII text like this:

jp2a --output=ascii.txt --colors input.png

It’s not the only program of this kind. There is ascii-image-converter and several other tools that could be used for the same purpose. I won’t discuss all of them in this list.

5. linuxlogo: Display the ASCII logo your Linux distro

The name says it all. It displays the Linux logo in ASCII format.

No, not our beloved Linux logo, Tux but the logo of your Linux distribution. It also shows a few additional information like Linux kernel version, CPU, RAM, hostname, etc.

linux logo

You can install it using the apt command:

sudo apt install linuxlogo

Just enter linuxlogo to use the command.

6. Neofetch: Display the Linux logo along with system info

The above linuxlogo command is too simplistic. You can amp it up by using Neofetch.

It displays the distribution in a more pretty way along with several system information like kernel, uptime, desktop environment, theme, icons, etc.


You can also parse it through lolcat to get rainbow-colored output.

Install Neofetch using this command:

sudo apt install neofetch

And then just enter neofetch to run the command.

There is also screenfetch, a similar tool to Neofetch. You can use either of them.

9 Rather Unknown Ways of Using Neofetch in Linux - It’s FOSS
Neofetch displays the system information and distribution logo in the Linux terminal. It can be tweaked to change its output in surprising new ways.

7. fortune: Get your fortune told

Just kidding! There’s no such thing.

However, fortune cookies are still fashionable and apparently, people like to read random predictions or teachings.

You can get a similar feature in the Linux terminal with the fortune command:

fortune cookie linux

You can install it using the following command:

sudo apt install fortune

Once installed, just enter fortune in the terminal to get a random message.

8. pv: Make things animated

This is a classic example of the unintended use of a Linux command. The pv command is used to monitor the progress of data through pipe.

But you can use it to animate the output of any command. Combine it with some of the above-mentioned commands and you can see the ASCII art appearing on your screen as if it is being typed.

Don’t get it? Watch this video:

Install it using the following command:

sudo apt install pv

And then use it in the following manner:

neofetch | pv -qL 200 | lolcat

The higher the number, the higher will be the speed.

9. cmatrix: Matrix like animation in ASCII

Remember the cult geek move Matrix? The green falling code is synonymous with Matrix and hacking.

You can run an ASCII simulation of the falling code in the Linux terminal with cmatrix command.

I am sharing a screenshot instead of animation here.


You can install it with apt command:

sudo apt install cmatrix

Once installed, you can run it with:


It starts the animation immediately and it keeps on generating random green text falling and disappearing from the screen. The command keeps on running. To stop the running application, use the Ctrl+C keys.

10. cbonsai: Grow a bonsai in your terminal

Got a green thumb? How about growing an ASCII bonsai tree in the terminal?

cbonsai is a fun Linux command that lets you run bonsai tree growing animation in ASCII format.

I shared a YouTube Shorts of cbonsai command a few days ago.

You can install cbonsai using:

sudo apt install cbonsai

And then to run the animation, use this command:

cbonsai -l

Try some more

There are many more such fun CLI tools. Heck, there are ASCII games as well. It’s fun to use them at times to amuse people around you.

Best ASCII Games for Linux That are Insanely Good
Text-based or should I say terminal-based games were very popular a decade back – when you didn’t have visual masterpieces like God Of War, Red Dead Redemption 2 or Spiderman. Of course, the Linux platform has its share of good games – but not always the “latest and greatest”. But, there

Can you put these commands to some good use? Not certain about the usability, but you can add some of them in your .bashrc file so that the command is run as soon as you open a terminal session.

Many sysadmins do that on shared Linux systems. A program like cowsay or figlet can be used to display a message or system info in a pretty way.

You may also use some of these programs in your bash scripts, especially if you have to highlight something.

There could be other usages of ASCII art in Linux. I'll let you share them with the rest of us here.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world


Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.