gitwtfhub

wtf is ghostty?

ghostty-org/ghostty — explained in plain English

Analysis updated 2026-05-18

53,657ZigAudience · developerComplexity · 4/5LicenseSetup · hard

TL;DR

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

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

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

REASON 2

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

REASON 3

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

What's in the stack?

ZigSwiftCGTKMetalOpenGLCoreText

How it stacks up

ghostty-org/ghosttyziglang/ziglightpanda-io/browser
Stars53,65742,89830,062
LanguageZigZigZig
Setup difficultyhardmoderatehard
Complexity4/54/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

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.

Wtf does this do

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).

Yoink these 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?

Frequently asked questions

wtf is ghostty?

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.

What language is ghostty written in?

Mainly Zig. The stack also includes Zig, Swift, C.

What license does ghostty use?

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

How hard is ghostty to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is ghostty for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.