Kitty Terminal Emulator: How to Install, Configure, and Use It

In this guide, we will be looking at how to install, customize and use the Kitty terminal emulator on Linux.

Some tasks are still best accomplished via the command line, even with sophisticated modern desktop environments jam-packed with administrative tools, utilities, and productivity software, all with appealing graphical user interfaces.

A terminal emulator allows you to use the power of the command line on your desktop. In addition, the terminal window provides access to a console and its applications, such as command-line interfaces (CLI) and text user interface software.

What’s Kitty GPU-Accelerated Terminal Emulator

Kitty Terminal Emulator

Kitty is a GPU-powered terminal emulator which uses OpenGL for processing and runs on multiple platforms. This means it uses a GPU for rendering instead of a CPU. As a result, it is extremely fast and efficient by nature.

But why would you need a GPU accelerated terminal? In short, it’s all about speed! Offloading rendering to the GPU helps in a couple of ways. First, it helps to reduce system load and provide smoother scrolling.

Kittyโ€™s biggest claim is that itโ€™s one of the fastest terminal emulators available. It is designed for power keyboard users.

Kitty is packed with features, supports tabs, splits, and true colors. Most of Kitty is written almost entirely in Python. The Objective C code is very thin on the ground indeed, and most of it is macro-based or just calling functions in other libraries.

In addition, Kitty is exceptionally configurable. There is mouse support available, which allows you to open URLs, double-click, triple-click, right-click, and do other things. On top of that, it is simple to control from the shell prompt, SSH, and scripts.

It’s essential to understand that terminals don’t just render what you see but also everything that programs output, which can be massive amounts of text, causing non-accelerated terminals to crash.

Some terminals will begin to update infrequently to save themselves, while others will hang completely while burning the CPU.

Installing Kitty Terminal Emulator in Linux

Kitty’s installation can be done using package managers, as shown below.

Ubuntu and other Debian-based distros can install the Kitty terminal emulator using the apt command below:

sudo apt install kitty

On Arch Linux, the Kitty emulator is available for installation via Pacman:

sudo pacman -S kitty

On Fedora, the Kitty terminal emulator is available for installation via the Fedora default software repositories:

sudo dnf install kitty

On RHEL-based distros like AlmaLinux or Rocky Linux, you first need to install the EPEL repo:

sudo dnf install epel-release

Then install the Kitty terminal emulator:

sudo dnf install kitty

If youโ€™re using openSUSE and want to use the Kitty terminal emulator, youโ€™ll be able to install the app with the following Zypper command:

sudo zypper install kitty

Once installed, Kitty can be launched from the Activities menu. First, go to the application launcher and search for ‘kitty.’ When its icon appears, click to run the same.

Application Launcher

Customize Kitty Terminal Emulator

The Kitty terminal emulator is customized using a configuration file. In this section, we’ll go over some basic customization options.

First, copy the sample configuration file kitty.conf to the Kitty configuration directory.

cp /usr/share/doc/kitty/examples/kitty.conf ~/.config/kitty/Code language: JavaScript (javascript)

To start the customization, open the kitty.conf file for editing using your preferred text editor.

vim ~/.config/kitty/kitty.confCode language: JavaScript (javascript)

Font size is the most obvious customization because Kitty’s font is small by default. So let’s increase it to 13.

Increasing Kitty's font size

Now let’s try to make Kitty’s window a little more transparent. To do this, we need to change the background_opacity option from 1 to about 0.8.

Set Kitty's background transparency

Remember that if you have opened Kitty, you must close it and reopen it for the changes to take effect. Now, let’s check the result of the changes made.

Kitty before and after modifications

At this point, I think the basic idea is clear. As youโ€™ll see, kitty.conf contains a myriad of configuration options that allow you to change this terminal emulatorโ€™s view or behavior completely. You can see their complete list on Kitty’s website.

Kittens

Kitty comes pre-packed with some cool features called Kittens, which can come in handy many times. They are used to add features to Kitty itself and create useful standalone programs.

For example, The icat kitten can display images in the terminal. Using it is as simple as:

kitty +kitten icat [IMAGE_FILE]Code language: CSS (css)
Ddisplay images in the Kitty terminal

You need to have ImageMagic installed on your Linux system for this kitten to work.

SSH Kitten: Solve Terminal Issues with SSH

Sometimes you can get errors about the terminal being unknown or opening the terminal failing when SSH using Kitty into a remote computer. This happens because the Kitty terminfo files, a group of routines within the curses library that handles specific terminal capabilities, are unavailable on the remote server.

Fortunately, the solution is simple โ€“ copy over the terminfo. Kitty has an SSH Kitten to automate precisely this.

kitty +kitten ssh user@hostCode language: CSS (css)

Furthermore, you may also alias it to something short in your ~/.bashrc files to prevent having to type it every time:

alias s="kitty +kitten ssh"Code language: JavaScript (javascript)

Window Splits

Kitty can define its windows, tiled next to each other in arbitrary layouts. A layout is an arrangement of multiple Kitty windows inside a top-level tab.

To split the window, use the keyboard shortcut Ctrl+Shift+Enter.

Window splits in Kitty

Using the keyboard shortcut Ctrl+Shift+[ or Ctrl+Shift+], you can switch between the different windows.

The windows can be arranged in multiple layouts using the Ctrl+Shift+L keyboard shortcut.

Tabs

Kitty can run multiple programs organized into tabs as each tab consists of one or more windows. To open a new tab, use Ctrl+Shift+T.

Kitty Tabs

Switching between tabs is possible using Ctrl+Shift+Left or Ctrl+Shift+Right.

Essential Kitty Terminal Emulator Shortcuts

The following are some useful shortcuts to use with Kitty.

Windows

New WindowCtrl+Shift+Enter
Close WindowCtrl+Shift+W
Next WindowCtrl+Shift+]
Previous WindowCtrl+Shift+[

Tabs

New TabCtrl+Shift+T
Close TabCtrl+Shift+Q
Next TabCtrl+Shift+Right
Previous TabCtrl+Shift+Left
Resize TabsCtrl+Shift+R

Scrolling

Line UpCtrl+Shift+Up
Line DownCtrl+Shift+Down
Page UpCtrl+Shift+Page_Up
Page DownCtrl+Shift+Page_Down
TopCtrl+Shift+Home
BottomCtrl+Shift+End

Other

Copy to ClipboardCtrl+Shift+C
Paste from ClipboardCtrl+Shift+V
Paste from SelectionCtrl+Shift+S
Increase Font SizeCtrl+Shift+Equal
Decrease Font SizeCtrl+Shift+Minus
Toggle FullscreenCtrl+Shift+F11

Conclusion

This article taught you how to install Kitty on Linux and its primary usage as a terminal emulator.

Kitty is a fantastic terminal emulator with so much customization that it facilitates a “mouse-free” workflow. In addition, it is s super-fast, very stable, and well maintained.

Of course, Kitty has many other cool features and customization, so check it out.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 69%