Skip to content

dariogriffo/ghostty-debian

Repository files navigation

GitHub Downloads (all assets, all releases) GitHub Downloads (all assets, latest release) GitHub Release GitHub Release Date

Ghostty Logo Debian Logo
Ghostty for Debian

👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.

⭐⭐⭐ Love using Ghostty on Debian? Show your support by starring this repo or buying me a coffee! ⭐⭐⭐

Ghostty is built using Zig, a powerful systems programming language. Check out my Debian package for Zig above.

Ghostty for Debian

This repository contains build scripts to produce the unofficial Debian packages (.deb) for Ghostty hosted at debian.griffo.io

Currently supported debian distros are:

  • Bookworm
  • Trixie
  • Sid

This is an unofficial community project to provide a package that's easy to install on Debian. If you're looking for the Ghostty source code, see ghostty-org/ghostty.

Ubuntu users

This repository only supports Debian.

Some Ubuntu versions already include Ghostty in their official repositories. For other Ubuntu versions, use the Ghostty Ubuntu PPA:

sudo add-apt-repository ppa:mkasberg/ghostty-ubuntu
sudo apt update
sudo apt install ghostty

Install/Update

The Debian way

# 1. Download and store the repository signing key (dearmored)
sudo curl -fsSL https://debian.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc \
  | sudo gpg --dearmor -o /usr/share/keyrings/debian.griffo.io.gpg

# 2. Add the repository, referencing the keyring using 'signed-by'
echo "deb [signed-by=/usr/share/keyrings/debian.griffo.io.gpg] \
  https://debian.griffo.io/apt $(lsb_release -sc) main" \
  | sudo tee /etc/apt/sources.list.d/debian.griffo.io.list

# 3. Update and install
sudo apt update
sudo apt install ghostty

Tip (bleeding-edge) packages

If you want to track the latest Ghostty tip builds, install the -tip packages instead. These are built from the upstream main branch and are packaged in a separate repository (ghostty-tip-debian), but published to the same apt repository, so no extra sources are needed:

sudo apt update
sudo apt install ghostty-tip libghostty-vt-tip libghostty-vt-dev-tip

The -tip packages can be installed alongside the stable ghostty package.

Manual Installation

  1. Download the .deb package for your Debian version available on the Releases page.
  2. Install the downloaded .deb package.
sudo dpkg -i <filename>.deb

Updating

To update to a new version, just follow any of the installation methods above. There's no need to uninstall the old version; it will be updated correctly.

Contributing

I want to have an easy-to-install Ghostty package for Debian, so I'm doing what I can to make it happen. (Ghostty relies on the community to produce non-macOS packages.) I'm sure the scripts I have so far can be improved, so please open an issue or PR if you notice any problems!

If you want to test locally, you should be able to run build_ghostty_debian.sh on your own Debian system, only requirement is docker.

Roadmap

  • Produce a .deb package on GitHub Releases
  • Set up a debian mirror for easier updates

Disclaimer

  • This repo is not open for issues related to ghostty. This repo is only for unofficial Debian packaging.
  • This repository is based on the amazing work of Mike Kasberg and his Ghostty Ubuntu packages

About

Debian (.deb) packages for Ghostty

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors