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)