explaingit

ghostty-org/ghostty

🔥 Hot54,794ZigAudience · developerComplexity · 4/5ActiveLicenseSetup · hard

TLDR

A fast, feature-rich terminal emulator for macOS and Linux that feels native to your platform, with GPU rendering and modern terminal features like image support.

Mindmap

mindmap
  root((Ghostty))
    What it does
      Terminal emulator
      GPU rendering
      Modern features
    Platforms
      macOS native
      Linux GTK
    Performance
      Multi-threaded
      SIMD optimized
      Metal and OpenGL
    Use cases
      Daily development
      Image display
      Embedded terminals
    Tech stack
      Zig core
      Swift macOS
      C bindings

Things people build with this

USE CASE 1

Replace your daily terminal with a faster, native-feeling alternative that supports modern features like inline image display.

USE CASE 2

Embed a terminal component into your own application using the libghostty C library.

USE CASE 3

Use advanced terminal protocols like Kitty graphics to display images and rich content in your shell workflows.

Tech stack

ZigSwiftCGTKMetalOpenGLCoreText

Getting it running

Difficulty · hard Time to first run · 1day+

Requires building from source with Zig compiler, platform-specific dependencies (Metal/CoreText on macOS, GTK on Linux), and GPU driver setup.

Use freely for any purpose including commercial, as long as you keep the copyright notice.

In plain English

Ghostty is a terminal emulator, which is the application you use to interact with a command-line shell on your computer. Most developers use a terminal every day, and Ghostty positions itself against the observation that existing terminals force a trade-off between performance, feature richness, and native platform integration. Ghostty aims to provide all three without compromise. On macOS, the application is built as a proper native SwiftUI app with real menus, a settings interface, AppleScript support, and Metal-based GPU rendering using CoreText for fonts, making it feel indistinguishable from a Mac-native application. On Linux, it is built with GTK and integrates with systemd. Under the hood, the rendering engine uses OpenGL on Linux and Metal on macOS, with a multi-threaded architecture that dedicates separate threads to reading, writing, and rendering. The terminal parser is heavily optimized using CPU-specific SIMD instructions (specialized instructions that process multiple data items in parallel). Ghostty also supports a wide range of modern terminal features beyond what most terminals implement, including the Kitty graphics protocol for displaying images in the terminal. In addition to the standalone application, Ghostty exposes its core as a C-compatible library called libghostty that any application can embed to add a terminal component. You would use Ghostty if you want a terminal that is fast, supports modern terminal features, and feels like a native application on your platform rather than a generic cross-platform wrapper. The project is written in Zig, a systems programming language, with platform-native layers in Swift (macOS) and C (Linux bindings).

Copy-paste prompts

Prompt 1
How do I install and configure Ghostty as my default terminal on macOS?
Prompt 2
Show me how to use the Kitty graphics protocol to display images in Ghostty.
Prompt 3
How can I embed libghostty into my application to add a terminal component?
Prompt 4
What are the performance differences between Ghostty and other terminals like iTerm2 or Alacritty?
Prompt 5
How do I customize Ghostty's appearance and keybindings?
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.