# Ghostty — Fast Feature-Rich Cross-Platform Terminal Emulator > Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. Written in Zig by Mitchell Hashimoto (co-founder of HashiCorp). Combines native OS feel with terminal power user features. ## Install Save as a script file and run: ## Quick Use ```bash # macOS (Homebrew cask) brew install --cask ghostty # Or build from source (requires Zig + system deps) git clone https://github.com/ghostty-org/ghostty cd ghostty zig build -Doptimize=ReleaseFast ``` Config `~/.config/ghostty/config`: ``` font-family = JetBrainsMono Nerd Font font-size = 14 theme = catppuccin-mocha window-decoration = false background-opacity = 0.95 cursor-style = bar shell-integration = zsh ``` ## Intro Ghostty is a fast, feature-rich, and cross-platform terminal emulator created by Mitchell Hashimoto (co-founder of HashiCorp, creator of Vagrant, Terraform, Consul, Nomad). Written in Zig, Ghostty uses platform-native UI (AppKit on macOS, GTK on Linux) combined with GPU-accelerated rendering for the best of both worlds: native OS feel with power-user terminal features. - **Repo**: https://github.com/ghostty-org/ghostty - **Stars**: 50K+ - **Language**: Zig - **License**: MIT ## What Ghostty Does - **Platform-native UI** — macOS AppKit, Linux GTK4 - **GPU rendering** — Metal (macOS), OpenGL (Linux) - **Tabs and splits** — built-in, no tmux needed - **Shell integration** — prompt marking, working directory tracking - **Themes** — 300+ built-in themes - **Ligatures** — font ligature support - **Image protocol** — Kitty graphics protocol - **Quick terminal** — hotkey dropdown terminal - **True color** — 24-bit - **Fast** — competitive with Alacritty ## Architecture Zig + platform native frameworks. On macOS: AppKit for window management, Metal for text rendering. On Linux: GTK4 for window management, OpenGL for rendering. Terminal state machine implemented in Zig for correctness and performance. ## Self-Hosting Terminal application. ## Key Features - Platform-native window chrome - GPU-accelerated rendering - Built-in tabs and splits - Shell integration - 300+ themes - Image support (Kitty protocol) - Quick terminal (hotkey) - Font ligatures - True color - Actively developed by Mitchell Hashimoto ## Comparison | Terminal | Native UI | Tabs | Image | Language | |---|---|---|---|---| | Ghostty | Yes | Yes | Kitty protocol | Zig | | Alacritty | No | No | No | Rust | | Kitty | Partial | Yes | Own protocol | C+Python | | WezTerm | No | Yes | Multiple | Rust | | iTerm2 | Yes | Yes | Own protocol | ObjC | ## 常见问题 FAQ **Q: 和 Alacritty 比?** A: Ghostty 有原生平台 UI、内置 tab/split、shell integration;Alacritty 更极简更成熟。Ghostty 更适合不想用 tmux 的用户。 **Q: Linux 支持?** A: 支持。GTK4 后端。需要自行编译。 **Q: 稳定吗?** A: 2024 年底才公开源码,但 Mitchell 已经独立开发超过 2 年。核心功能稳定,边缘功能仍在迭代。 ## 来源与致谢 Sources - Docs: https://ghostty.org/docs - GitHub: https://github.com/ghostty-org/ghostty - License: MIT --- Source: https://tokrepo.com/en/workflows/c457c64e-3638-11f1-9bc6-00163e2b0d79 Author: Script Depot