Build a terminal that balances speed, features, and native UI
Choosing a terminal often means trading speed for features or accepting a look that clashes with your platform. Ghostty is a terminal emulator that aims to keep all three sides of that triangle. It uses interfaces tailored to each operating system and GPU acceleration to handle complex tasks without feeling sluggish.
Standard compliance and modern protocol support
Ghostty implements terminal sequences based on the ECMA-48 standard and xterm behavior. It supports existing terminal programs as well as modern features like the Kitty graphics protocol and clipboard sequences. Consistency test cases were built by comparing behavior with xterm to ensure stability. This allows most terminal applications to run without issues.
Platform-specific native experience
The common core is written in Zig, but native technologies are actively used for each platform. On macOS, it is a SwiftUI-based application that uses the Metal renderer and CoreText to manage fonts and windows. It also supports integration with AppleScript and Shortcuts. On Linux, the app is built with GTK and integrates deeply with systemd when available to handle process isolation and instance management. Users get the feeling of using a terminal optimized for their specific platform.
Embeddable terminal library
In addition to the standalone terminal app, it provides a C and Zig compatible library called libghostty. This library allows you to insert terminal functionality directly into other applications. Specifically, libghostty-vt is a module focused on terminal sequence parsing and state maintenance, usable on macOS, Linux, Windows, and WebAssembly. API signatures may still change, but the terminal parsing functionality itself has been long validated in the Ghostty GUI and is stable.
Performance and architecture
Ghostty adopts a multithreaded architecture that handles reading, writing, and rendering in separate threads. It applies an optimized parser using CPU SIMD instructions and platform-specific GPU acceleration (OpenGL, Metal). Benchmark results show performance similar to Alacritty, providing much faster response times than traditional terminal emulators. This performance is the result of a design aimed at minimizing latency while handling complex terminal features, rather than a simple speed competition.
Things to check before use
Ghostty is currently stable and used by millions of people daily. However, libghostty version tags have not yet been assigned, and documentation is in progress, so be aware of potential API changes if you use the library directly. Additionally, Ghostty-specific terminal control sequences have not yet been implemented, a part approached cautiously due to concerns about future ecosystem fragmentation. It is also good to note from a security perspective that crash reports are stored locally and not sent externally.