DEV Community

Cover image for Ghostty for Ubuntu
Shafiq Imtiaz
Shafiq Imtiaz

Posted on

Ghostty for Ubuntu

🎉 2024 couldn't have ended much better !! 🎉

After countless configurations to optimize my bash terminal in Linux Ubuntu 24.04, Ghostty has entered the scene. Ghostty is a new open-source terminal emulator developed by Mitchell Hashimoto, co-founder of HashiCorp.

Why Try Ghostty?

  • Speed 🚀: Quick startup and execution.

  • Features 🛠️: Multiple windows, tabs, split panes, and GPU-accelerated rendering.

  • Integration 🔗: Native GTK4/libadwaita GUI for a seamless Ubuntu experience.

  • Customization 🎨: Over 100 built-in themes to suit your preferences.

As of now, there are official packages for Arch Linux and a Nix flake for container-based setups, but Ubuntu users will need to compile the terminal from source.

How to Install on Ubuntu:

  1. Download Ghostty 📥: Get the latest release from the official website

  2. Extract the Archive 📂: tar -xzf ghostty-linux.tar.gz

  3. Navigate to the Directory 📁: cd ghostty-linux

  4. Install Dependencies 🔧: sudo apt install libgtk-4-dev libadwaita-1-dev

  5. Install Zig Compiler 🛠️: sudo snap install --beta zig --classic

  6. Build and Install Ghostty 🏗️: zig build -p $HOME/.local -Doptimize=ReleaseFast

  7. Launch Ghostty 🚀: Open it from your applications menu or by typing ghostty in the terminal.

For detailed instructions and additional configuration options, visit the official Ghostty documentation. Give Ghostty a try and see how it can improve your workflow!

References:

Top comments (0)