Lolcat is a fun command-line tool that prints text in colorful rainbow colors directly in the terminal. It can color the output of commands, files, and text, making your terminal look more attractive and interactive. You can easily install and use Lolcat in the terminal with a few simple commands.
Here’s what you can do with Lolcat in Terminal:
- Display colorful rainbow text.
- Color the output of terminal commands.
- Read and color text files.
- Customize rainbow colors.
- Animate colorful text.
- Create fun terminal effects.
Lolcat Installation Commands
Copy and run the following command one by one to install lolcat on your system.
Update package lists.
apt update && apt upgrade -y
Install Lolcat.
apt install ruby -y
gem install lolcat
Check the installed version.
lolcat --version
Lolcat is now installed and ready to use.
Lolcat Usage Commands
After installing Lolcat, you can use different commands to print colorful text and customize the rainbow effect in the terminal.
Print colorful text.
echo "Hello World" | lolcat
Display the help menu.
lolcat --help
Change the rainbow spread.
echo "Hello World" | lolcat -p 5
Change the rainbow frequency.
echo "Hello World" | lolcat -F 0.3
Use a custom rainbow seed.
echo "Hello World" | lolcat -S 10
Enable animated rainbow text.
echo "Hello World" | lolcat -a
Set the animation duration.
echo "Hello World" | lolcat -a -d 20
Change the animation speed.
echo "Hello World" | lolcat -a -s 30
Invert foreground and background colors.
echo "Hello World" | lolcat -i
Enable truecolor mode.
echo "Hello World" | lolcat -t
Force colored output.
echo "Hello World" | lolcat -f
Display the installed version.
lolcat -v
Color the contents of a file.
lolcat file.txt
Color the output of another command.
fortune | lolcat
You can combine Lolcat with other commands to make your terminal output more colorful and visually appealing.
Overview
Lolcat is a simple and fun terminal tool that adds colorful rainbow effects to text and command output. It is easy to use, highly customizable, and a great way to make your terminal more colorful and enjoyable.



