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

kitty is a GPU based terminal emulator for people who spend their day in one. It renders with OpenGL, so a flood of build output scrolls smoothly, and it treats the terminal as a platform rather than a text box: tiling layouts for windows and tabs, a graphics protocol that draws real images inline, a keyboard protocol that lets programs tell shift+enter from enter, clickable hyperlinks, ligatures, and shell integration that knows where every prompt and every command’s output begins and ends. It is written by Kovid Goyal, the author of calibre, and everything is configured in one kitty.conf.

Next to the terminal comes kitten, one companion executable holding the small tools kitty is built around: kitten icat shows an image, kitten ssh carries your terminfo and shell integration to remote hosts, kitten diff is a side-by-side diff that handles images, and kitten @ drives the terminal from a script.

Debian packages kitty, but each release freezes it. Trixie is on 0.41.1, and Bookworm’s 0.26.5 predates the standalone kitten executable altogether, so kitten ssh and kitten icat from the current documentation do not exist there. Upstream’s own installer is current, but it is a curl | sh into ~/.local/kitty.app for a single user, without a desktop entry or man pages, and you update it by running the installer again.

The unofficial deb.griffo.io repository fills the gap: it packages the official upstream kitty build as Debian .deb files with the same names Debian uses, so it upgrades the stock kitty in place and keeps it current through APT.

Install the Latest kitty on Debian: The Short Version

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

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 explains what each command does, how the packages are split, how to get started with kitty’s layouts, kittens and remote control, and what to check when something goes wrong.

What Makes kitty Special?

  • 🎮 GPU rendering - kitty draws with OpenGL, so big outputs scroll smoothly and the terminal stays responsive under a flood of text.
  • 🪟 Windows, tabs and layouts - Split a tab into windows and let a layout (tall, fat, grid, splits, stack) arrange them, with no multiplexer needed for local work.
  • 🖼️ The graphics protocol - Real images, not block characters: the same protocol yazi, viu and Neovim image plugins use to draw in your terminal.
  • 🐈 Kittens - One kitten executable full of tools: icat, ssh, diff, clipboard, themes, hints, unicode_input, transfer and more.
  • 🎛️ Remote control - kitten @ opens windows, sends text, changes colours and lists what is running, from any script.
  • 🐚 Shell integration - Jump between prompts, open the last command’s output in a pager, and have new windows open in the current directory, for bash, zsh and fish.

Why Use the deb.griffo.io Repository?

  • Same package names as Debian: kitty, kitty-terminfo, kitty-shell-integration and kitty-doc, so an existing Debian kitty upgrades in place.
  • The official build: the upstream prebuilt bundle, the same bits upstream’s installer gives you, placed under /opt/kitty with /usr/bin/kitty and /usr/bin/kitten symlinks. No source rebuild, no patches.
  • Properly integrated: desktop entry, icons, man pages, terminfo, fish and zsh completions, and the x-terminal-emulator alternative registered.
  • kitty-terminfo travels alone: an architecture-independent package with just the xterm-kitty terminfo entry, for servers you ssh into.
  • Always tracks upstream releases, typically within hours of a release.
  • Works across supported Debian releases on amd64 and arm64, with the codename detected automatically.

Prerequisites

Before you start, make sure you have:

  • A Debian-based system (Bookworm 12, Trixie 13, Forky 14, or Sid)
  • An amd64 or arm64 machine
  • A desktop session (X11 or Wayland) with working OpenGL
  • sudo privileges
  • curl installed (sudo apt install curl if needed)

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

The bundle carries its own Python, OpenSSL, HarfBuzz, FreeType, cairo, Wayland and xkbcommon libraries. From the system it only needs the display-server client libraries every desktop already has (libx11, libxcb, libxcursor, libdbus, libfontconfig, libgl and libegl) and glibc 2.35 or newer, which every supported release provides.

Step 1: Add the deb.griffo.io Repository

Add the signing 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

What each command does:

  1. Create the keyrings directory - ensures /etc/apt/keyrings exists with proper permissions.
  2. Install the GPG key - downloads the repository key and de-armours it into a dedicated keyring for verification.
  3. Add the repository - writes a signed-by source line, with lsb_release -sc supplying your Debian codename.
  4. Update the package list - refreshes APT so it knows about the new packages.

Step 2: Update the Package List

If you skipped the last line, run the update now:

sudo apt update

Debian’s own kitty packages are visible as well. Check that APT picked the newer build from deb.griffo.io:

apt policy kitty

The candidate should point at https://deb.griffo.io/apt. To make sure APT keeps preferring this repository for all four kitty packages, even if the Debian archive later carries the same upstream version, you can 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 the terminal:

sudo apt install kitty

The packages are split the same way as Debian’s:

PackageContents
kittyThe upstream bundle under /opt/kitty, the kitty and kitten commands, desktop entry, icons, man pages and completions
kitty-terminfoThe xterm-kitty terminfo entry, pulled in automatically
kitty-shell-integrationThe bash, zsh and fish integration scripts, pulled in automatically
kitty-docThe HTML documentation under /usr/share/doc/kitty/html, recommended

libcanberra0 (for the terminal bell) and libstartup-notification0 are recommended too, so APT adds them unless you disable recommends.

Step 4: Verify the Installation

Confirm both the terminal and the companion CLI:

kitty --version
kitten --version

You should see output similar to:

kitty 0.51.1 created by Kovid Goyal

Then make kitty your default terminal if you like:

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

Getting Started with kitty

First Launch and Configuration

Start kitty from your application launcher, or from another terminal:

kitty

The configuration lives in ~/.config/kitty/kitty.conf. Inside kitty, ctrl+shift+f2 opens it in your editor and ctrl+shift+f5 reloads it. A commented sample of every option is installed at /usr/share/doc/kitty/examples/kitty.conf. A short starting point:

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

To see the configuration kitty actually ended up with:

kitty --debug-config

Two kittens help with the visual side:

# Browse the bundled colour themes and apply one
kitten themes

# Pick a font interactively, with a live preview
kitten choose-fonts

Windows, Tabs and Layouts

kitty has its own windows and tabs, so for local work you may not need a multiplexer at all:

KeysAction
ctrl+shift+enterNew window in the current tab
ctrl+shift+tNew tab
ctrl+shift+lCycle through the enabled layouts
ctrl+shift+] / ctrl+shift+[Next / previous window
ctrl+shift+right / ctrl+shift+leftNext / previous tab
ctrl+shift+ePick a URL on screen with the keyboard and open it
ctrl+shift+zScroll back to the previous prompt
ctrl+shift+gOpen the last command’s output in a pager

A session file recreates a whole workspace, each window with its own directory and command:

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

Starting kitty From the Command Line

# Run a command in a new window and keep it open after it exits
kitty --hold htop

# Override any kitty.conf option for this instance
kitty -o font_size=14 -o background_opacity=0.9

# Start in a given directory
kitty --directory ~/src

The Kittens

# Show an image right in the terminal
kitten icat photo.png

# ssh with your terminfo and shell integration carried along
kitten ssh user@server

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

# Copy to and read from the system clipboard, even over ssh
echo hello | kitten clipboard
kitten clipboard --get-clipboard

# Apply a theme to every running kitty window
kitten themes --reload-in=all Catppuccin-Mocha

Remote Control

Add allow_remote_control yes to kitty.conf, restart kitty, and any shell running inside it can drive the terminal:

# Open a new window to the right, in the current directory
kitten @ launch --location=vsplit --cwd=current

# Type a command into another window, matched by its title
kitten @ send-text --match title:logs "tail -f /var/log/syslog\n"

# Change colours on the fly
kitten @ set-colors background=#1e1e2e

# List the OS windows, tabs and windows that are open
kitten @ ls

Shell Integration

shell_integration enabled, the default, turns on the bash, zsh and fish hooks without touching your rc files. That is what makes prompt jumping, “open the last output” and “new window in the current directory” work.

fish and zsh completions for kitty and kitten are installed system-wide. bash has no static completion file: kitty’s shell integration enables it, or you can load it yourself:

source <(kitten __complete__ setup bash)

Servers You ssh Into

kitty sets TERM=xterm-kitty. A remote host without that terminfo entry gives you a broken backspace and complaints from less and clear. kitten ssh copies it across automatically. For hosts you reach with plain ssh, install the terminfo package there; it is architecture-independent and pulls in nothing else:

sudo apt install kitty-terminfo

Keeping kitty Updated

Because kitty arrived via APT, updates come with the rest of the system:

sudo apt update && sudo apt upgrade

kitty releases roughly every month, and each release moves the protocols other tools build on. Avoid kitten update-self: it downloads a new kitten binary over the packaged one behind APT’s back. If you already ran it, sudo apt reinstall kitty restores the packaged file.

Other Tools from deb.griffo.io

The repository packages plenty of tools that fit naturally alongside kitty:

  • Ghostty - the other GPU terminal in the repository, with a native GTK interface and a different set of trade-offs.
  • Zellij - a workspace multiplexer for sessions that must outlive the window.
  • Yazi - a terminal file manager that draws its previews through kitty’s graphics protocol.
  • viu - a terminal image viewer that speaks the kitty graphics protocol.
  • Neovim - image plugins and the kitty keyboard protocol work out of the box.

Troubleshooting

GPG or Key Errors

If APT reports an unsigned repository or an invalid key, import it again:

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

Package Not Found or Debian’s kitty Installed

If APT cannot see the newer kitty, or installs Debian’s:

  1. Re-run sudo apt update after adding the repository.
  2. Confirm your release is supported (Bookworm, Trixie, Forky, or Sid).
  3. Confirm your architecture is amd64 or arm64 with dpkg --print-architecture.
  4. Inspect the source list: cat /etc/apt/sources.list.d/deb.griffo.io.list.
  5. Compare candidates with apt policy kitty, and add the pin from Step 2 if Debian’s version wins.

kitty Does Not Start

kitty needs a working OpenGL driver. Run it from another terminal to see the error:

kitty --debug-rendering

Messages about OpenGL usually mean a missing or software-only driver, which is common in virtual machines and remote desktop sessions.

Broken Backspace or “unknown terminal type” Over ssh

The remote host lacks the xterm-kitty terminfo. Connect with kitten ssh, or install kitty-terminfo on that host.

An Older kitty Shadows the Package

If you previously used upstream’s installer, its copy in ~/.local/kitty.app may still be linked from ~/.local/bin:

which -a kitty kitten

Remove the stray symlinks and the ~/.local/kitty.app directory so /usr/bin/kitty is the one you run.

Input Methods

To type through ibus or fcitx5, start kitty with:

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 drop 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

Your configuration in ~/.config/kitty/ is left in place; delete it by hand if you no longer need it.

Conclusion

Installing kitty from deb.griffo.io gives Debian users the current kitty on every supported release, Bookworm included, as the official upstream build wrapped in properly integrated packages. The kitten tools, the graphics and keyboard protocols, and every option in the current documentation are available, and updates arrive with apt upgrade.

Whether you want one terminal that replaces terminal plus multiplexer, images and diffs that work over ssh, or simply the terminal yazi and Neovim were tested in, the packaged kitty gets out of your way.

Frequently Asked Questions

How do I install the latest kitty on Debian?

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

Will this conflict with Debian’s kitty packages?

No. The packages use the same names as Debian’s, so APT upgrades them in place. Pin the repository, as shown in Step 2, if you want APT to keep preferring it whatever the archive does.

Is this the official kitty build?

Yes. The packages contain the upstream prebuilt bundle, the same files kitty’s own installer downloads, with no rebuild and no patches.

Can I use kitten update-self?

Better not. It replaces the packaged kitten binary outside APT. Let apt upgrade handle updates, and run sudo apt reinstall kitty if you already used it.

What do I install on the servers I ssh into?

Only kitty-terminfo, which contains the xterm-kitty terminfo entry and nothing else. Or connect with kitten ssh, which copies it for you.

How do I install kitty on Ubuntu?

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

Which Debian releases are supported?

Bookworm 12, Trixie 13, Forky 14 and Sid, 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.