How to Install kitty on Ubuntu: The Fast, GPU Based Terminal Emulator

kitty is a terminal emulator that offloads rendering to the GPU and then spends the time it saves on features. Output scrolls smoothly even when a build dumps thousands of lines, tabs split into windows that tiling layouts arrange for you, images are drawn inline through kitty’s own graphics protocol, and a keyboard protocol lets editors see key combinations other terminals swallow. Shell integration tracks every prompt and every command’s output, and a single kitty.conf holds the whole configuration. kitty is written by Kovid Goyal, also known for calibre.

The terminal comes with kitten, a companion executable bundling the tools kitty is built around: kitten icat for images, kitten ssh to carry terminfo and shell integration to remote machines, kitten diff for side-by-side diffs that also handle images, and kitten @ to script the terminal itself.

Ubuntu’s archive does not keep up. Noble stays on kitty 0.32.2 for its whole life, and Jammy’s 0.21.2 predates the standalone kitten executable, so kitten ssh and kitten icat from the current docs simply are not there. Upstream’s installer is current, but it is a curl | sh into ~/.local/kitty.app for one user, with no desktop entry, man pages or x-terminal-emulator registration, and updating means running it again.

The unofficial deb.griffo.io repository offers a cleaner path: the official upstream kitty build packaged as Ubuntu .deb files under the same names Ubuntu uses, upgraded in place and kept current through APT.

Install the Latest kitty on Ubuntu: The Short Version

If you only came for the commands, this adds the repository and installs the latest kitty .deb package on Ubuntu:

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt update
sudo apt install kitty

The rest of this guide walks through the setup, the package split, kitty’s layouts, kittens and remote control, and the common problems.

What Makes kitty Special?

  • 🎮 OpenGL rendering - Glyphs are drawn on the GPU, which keeps scrolling smooth and leaves the CPU for the programs you are running.
  • 🪟 Built-in tiling - Windows inside tabs, arranged by layouts such as tall, fat, grid, splits and stack, cover much of what a local multiplexer does.
  • 🖼️ Inline images - The kitty graphics protocol draws real pictures, and yazi, viu and Neovim image plugins use it.
  • 🐈 Kittens - icat, ssh, diff, clipboard, themes, hints, unicode_input, transfer and more, all inside one kitten binary.
  • 🎛️ Scriptable - kitten @ controls windows, text, colours and layouts from any shell script.
  • 🐚 Prompt-aware - Jump between prompts, page through the last command’s output, open new windows in the current directory, in bash, zsh and fish.

Why Use the deb.griffo.io Repository?

  • Same package names as Ubuntu: kitty, kitty-terminfo, kitty-shell-integration and kitty-doc, so the archive version is upgraded in place and nothing is left behind on removal.
  • Upstream’s own build: the official prebuilt bundle, identical to what kitty’s installer fetches, under /opt/kitty with /usr/bin/kitty and /usr/bin/kitten symlinks.
  • Desktop integration included: launcher entry, icons, man pages, terminfo, fish and zsh completions, and the x-terminal-emulator alternative.
  • A terminfo-only package for servers: kitty-terminfo is architecture-independent and contains nothing but the xterm-kitty entry.
  • Always tracks upstream releases, usually within hours.
  • Works across supported Ubuntu releases on amd64 and arm64, with the codename detected for you.

Prerequisites

Before starting, confirm you have:

  • An Ubuntu system (Jammy 22.04 LTS, Noble 24.04 LTS, Questing 25.10, or Resolute 26.04 LTS)
  • An amd64 or arm64 machine
  • A graphical session (X11 or Wayland) with a working OpenGL driver
  • sudo privileges
  • curl installed (sudo apt install curl if needed)

Upstream only publishes amd64 and arm64 bundles, so there is no i386, armhf or riscv64 build.

The bundle ships its own Python, OpenSSL, HarfBuzz, FreeType, cairo, Wayland and xkbcommon, and needs only the standard display-server client libraries (libx11, libxcb, libxcursor, libdbus, libfontconfig, libgl, libegl) plus glibc 2.35 or newer. Jammy’s glibc is exactly 2.35, so every supported release qualifies.

Step 1: Add the deb.griffo.io Repository

Register the key and repository source:

# Create the keyrings directory
sudo install -d -m 0755 /etc/apt/keyrings

# Download and install the repository GPG key
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg

# Add the repository (auto-detects your distro codename)
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null

# Update the package list
sudo apt update

Breaking it down:

  1. Create the keyrings directory - makes sure /etc/apt/keyrings exists with the right permissions.
  2. Install the GPG key - downloads and de-armours the repository key into its own keyring so APT can verify signatures.
  3. Add the repository - writes a signed-by source line, letting lsb_release -sc fill in your Ubuntu codename.
  4. Update the package list - refreshes APT’s view of available packages.

Step 2: Update the Package List

If you did not run the final command above, do it now:

sudo apt update

Ubuntu’s universe component has its own kitty, so make sure APT prefers the deb.griffo.io build:

apt policy kitty

The candidate should come from https://deb.griffo.io/apt. To keep it that way for all four kitty packages, whatever version Ubuntu ships later, pin them:

sudo tee /etc/apt/preferences.d/deb.griffo.io-kitty > /dev/null << 'EOT'
Package: kitty kitty-terminfo kitty-shell-integration kitty-doc
Pin: origin deb.griffo.io
Pin-Priority: 1001
EOT

Step 3: Install kitty

Install with APT:

sudo apt install kitty

Here is how the four packages divide the work, mirroring Ubuntu’s own split:

PackageContents
kittyThe upstream bundle in /opt/kitty, the kitty and kitten commands, desktop entry, icons, man pages and completions
kitty-terminfoThe xterm-kitty terminfo entry, installed automatically
kitty-shell-integrationbash, zsh and fish integration scripts, installed automatically
kitty-docHTML documentation in /usr/share/doc/kitty/html, recommended

libcanberra0 for the bell and libstartup-notification0 are recommended as well.

Step 4: Verify the Installation

Check both commands:

kitty --version
kitten --version

You should see something like:

kitty 0.51.1 created by Kovid Goyal

To make kitty the terminal that x-terminal-emulator opens:

sudo update-alternatives --config x-terminal-emulator

Getting Started with kitty

Configuring kitty

Launch kitty from the Ubuntu app grid or from another terminal with kitty. Its settings live in ~/.config/kitty/kitty.conf: press ctrl+shift+f2 inside kitty to edit it and ctrl+shift+f5 to reload. Every option, with comments, is in the sample at /usr/share/doc/kitty/examples/kitty.conf. A minimal start:

font_family      JetBrains Mono
font_size        12.0
background_opacity 0.95
enable_audio_bell no
enabled_layouts  splits,tall,stack

Print the configuration kitty is really using:

kitty --debug-config

And pick a look interactively:

# Preview and apply one of the bundled colour themes
kitten themes

# Choose a font with a live preview
kitten choose-fonts

Windows, Tabs and Layouts

KeysAction
ctrl+shift+enterOpen a window in the current tab
ctrl+shift+tOpen a tab
ctrl+shift+lSwitch to the next layout
ctrl+shift+] / ctrl+shift+[Next / previous window
ctrl+shift+right / ctrl+shift+leftNext / previous tab
ctrl+shift+eSelect a URL on screen by keyboard and open it
ctrl+shift+zJump back to the previous prompt
ctrl+shift+gShow the last command’s output in a pager

To bring back a whole workspace, with each window’s directory and command, use a session file:

kitty --session ~/.config/kitty/work.session

Command-Line Options Worth Knowing

# Keep the window open after the command exits
kitty --hold htop

# Override kitty.conf options for one instance
kitty -o font_size=14 -o background_opacity=0.9

# Open in a specific directory
kitty --directory ~/src

Using the Kittens

# Display an image inline
kitten icat photo.png

# ssh with terminfo and shell integration copied over
kitten ssh user@server

# Side-by-side diff, also for images
kitten diff old.txt new.txt

# Clipboard access from the shell, local or over ssh
echo hello | kitten clipboard
kitten clipboard --get-clipboard

# Switch every open kitty window to a new theme
kitten themes --reload-in=all Catppuccin-Mocha

Scripting kitty With Remote Control

Set allow_remote_control yes in kitty.conf and restart kitty. From then on, a shell inside kitty can control it:

# New window to the right, starting in the current directory
kitten @ launch --location=vsplit --cwd=current

# Send a command to the window titled "logs"
kitten @ send-text --match title:logs "tail -f /var/log/syslog\n"

# Recolour the background
kitten @ set-colors background=#1e1e2e

# Show every OS window, tab and window
kitten @ ls

Shell Integration and Completions

With the default shell_integration enabled, kitty injects its bash, zsh and fish hooks without editing your rc files, which powers prompt jumping, the last-output pager and new windows in the current directory.

Completions for fish and zsh are installed system-wide. For bash, the shell integration turns them on, or load them by hand:

source <(kitten __complete__ setup bash)

Remote Hosts

kitty advertises itself as TERM=xterm-kitty. On hosts without that terminfo, backspace misbehaves and tools like less and clear complain. kitten ssh copies the entry for you; on servers you reach with plain ssh, install the tiny terminfo package:

sudo apt install kitty-terminfo

Keeping kitty Updated

kitty now updates with the rest of Ubuntu:

sudo apt update && sudo apt upgrade

New kitty releases come out roughly every month. Do not use kitten update-self, which overwrites the packaged kitten outside APT; if you already did, sudo apt reinstall kitty puts the packaged file back.

Other Tools from deb.griffo.io

The repository includes many tools that sit well next to kitty:

  • Ghostty - another GPU terminal, with a native GTK interface and its own trade-offs.
  • Zellij - a workspace multiplexer for sessions that need to outlive a window.
  • Yazi - a terminal file manager whose image previews use kitty’s graphics protocol.
  • viu - an image viewer for the terminal that speaks the same protocol.
  • Neovim - picks up the kitty keyboard protocol and image plugins with no extra setup.

Troubleshooting

GPG or Key Errors

If APT flags the repository as unsigned or the key as invalid, re-import it:

curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
sudo apt update

APT Installs Ubuntu’s kitty or Finds Nothing

If APT cannot locate the newer kitty, or picks the universe package:

  1. Re-run sudo apt update after adding the repository.
  2. Verify your Ubuntu release is supported (Jammy, Noble, Questing, or Resolute).
  3. Check that dpkg --print-architecture reports amd64 or arm64.
  4. Check the source list: cat /etc/apt/sources.list.d/deb.griffo.io.list.
  5. Run apt policy kitty, and add the pin from Step 2 if the archive version wins.

kitty Will Not Open

kitty requires working OpenGL. Start it from another terminal with rendering diagnostics:

kitty --debug-rendering

OpenGL errors usually point to a missing or software-only driver, typical of virtual machines and some remote desktop setups.

Backspace Broken Over ssh

The server does not know xterm-kitty. Use kitten ssh, or install kitty-terminfo on the server.

An Old Installer Copy Takes Priority

Upstream’s installer puts kitty in ~/.local/kitty.app and often links it from ~/.local/bin, which comes before /usr/bin on Ubuntu’s default PATH:

which -a kitty kitten

Delete those symlinks and ~/.local/kitty.app so the packaged kitty runs.

Typing Through ibus or fcitx5

Start kitty with the input method module set:

GLFW_IM_MODULE=ibus kitty

Uninstalling

Remove kitty and its companion packages with:

sudo apt remove kitty kitty-terminfo kitty-shell-integration kitty-doc

To also remove the repository and key:

sudo rm /etc/apt/sources.list.d/deb.griffo.io.list
sudo rm /etc/apt/keyrings/deb.griffo.io.gpg
sudo apt update

APT leaves ~/.config/kitty/ untouched; delete it yourself if you want a clean slate.

Conclusion

Installing kitty from deb.griffo.io gives Ubuntu users the current kitty on every supported release, Jammy included, as the official upstream build in packages that integrate with the desktop the way Ubuntu’s do. The kittens, protocols and options from today’s documentation all work, and staying current is part of apt upgrade.

If you want a terminal that handles tabs, splits, images and ssh sessions on its own, or the terminal that yazi and Neovim’s image plugins were built against, the packaged kitty is an easy choice to live with.

Frequently Asked Questions

How do I install the latest kitty on Ubuntu?

Add the deb.griffo.io APT repository and its signing key, then run sudo apt install kitty. The terminfo and shell integration packages are installed with it.

Does it replace Ubuntu’s kitty?

Yes, in place, because the package names are identical. Add the pin from Step 2 if you want APT to stick with this repository regardless of what the archive ships.

Is this the same kitty upstream distributes?

Yes. It is the official prebuilt bundle, exactly what upstream’s installer downloads, packaged without rebuilding or patching.

Why does Jammy’s kitty not have kitten?

Jammy ships kitty 0.21.2, which predates the standalone kitten executable. The deb.griffo.io package brings the current release, kitten included, to Jammy as well.

What should I install on remote servers?

Just kitty-terminfo, or nothing at all if you connect with kitten ssh.

How do I install kitty on Debian?

Exactly the same way; lsb_release -sc simply resolves to a different codename. There is a companion guide with the Debian specifics: How to install kitty on Debian.

Which Ubuntu releases are supported?

Jammy 22.04 LTS, Noble 24.04 LTS, Questing 25.10 and Resolute 26.04 LTS, on amd64 and arm64. Because the repository line is built from lsb_release -sc, the matching suite is selected for you.

Resources


Disclaimer: The deb.griffo.io repository is an unofficial community project and is not affiliated with the official Debian or Ubuntu projects, or with the upstream kitty project.