# Alacritty — Cross-Platform GPU-Accelerated Terminal Emulator > Alacritty is a cross-platform, GPU-accelerated terminal emulator written in Rust. Focuses on simplicity and performance — no tabs, no splits, just the fastest terminal rendering on the planet. Configuration via TOML file, works on macOS, Linux, Windows, and BSD. ## Install Save in your project root: ## Quick Use ```bash # Install brew install --cask alacritty # macOS sudo snap install alacritty --classic # Linux scoop install alacritty # Windows cargo install alacritty # From source ``` Config `~/.config/alacritty/alacritty.toml`: ```toml [font] size = 14.0 [font.normal] family = "JetBrainsMono Nerd Font" style = "Regular" [window] decorations = "Buttonless" opacity = 0.95 padding = { x = 8, y = 8 } [colors.primary] background = "#1e1e2e" foreground = "#cdd6f4" [terminal.shell] program = "/bin/zsh" args = ["-l"] ``` ## Intro Alacritty is the fastest terminal emulator in existence. Written in Rust, it uses OpenGL (and now WebGPU-capable via crossfont/glutin) for GPU-accelerated text rendering. Alacritty intentionally has no tabs or splits — it expects you to pair it with tmux or a tiling window manager. Focus on doing one thing well: rendering terminal output as fast as possible. - **Repo**: https://github.com/alacritty/alacritty - **Stars**: 63K+ - **Language**: Rust - **License**: Apache 2.0 ## What Alacritty Does - **GPU rendering** — OpenGL/Metal for text rendering - **Cross-platform** — macOS, Linux, Windows, FreeBSD - **TOML config** — everything via `alacritty.toml` - **Vi mode** — navigate and select text in terminal - **Search** — incremental regex search - **Hints** — clickable URLs and custom patterns - **Live config reload** — edit config, terminal updates instantly - **Scrollback** — configurable buffer size - **True color** — 24-bit color support - **Unicode** — full Unicode and emoji rendering ## Architecture Rust binary using glutin/winit for windowing and crossfont for font rasterization. Rendering pipeline: parse ANSI escape codes → update grid state → render via OpenGL. Zero-copy where possible for maximum throughput. ## Self-Hosting Terminal application — install and run. ## Key Features - Fastest text rendering - GPU-accelerated - TOML configuration - Vi mode navigation - Live config reload - True color and font ligatures - Regex search - URL hints - Cross-platform - Minimal by design ## Comparison | Terminal | GPU | Tabs | Config | Language | |---|---|---|---|---| | Alacritty | OpenGL | No | TOML | Rust | | Ghostty | Metal/OpenGL | Yes | INI-like | Zig | | Kitty | OpenGL | Yes | kitty.conf | C+Python | | WezTerm | OpenGL | Yes | Lua | Rust | | iTerm2 | Metal | Yes | GUI | ObjC | ## 常见问题 FAQ **Q: 没有 tab 怎么办?** A: 配合 tmux 或 Zellij 用。Alacritty 哲学是做最好的终端渲染器,窗口管理交给专业工具。 **Q: 字体模糊?** A: macOS 上确保 Retina 正确识别。设置 `[env] TERM = "xterm-256color"` 和合适的 font size。 **Q: 和 Ghostty 比?** A: Ghostty 更「batteries included」(原生 tab、split、平台 UI);Alacritty 更极简、更快、更成熟。 ## 来源与致谢 Sources - Docs: https://alacritty.org - GitHub: https://github.com/alacritty/alacritty - License: Apache 2.0 --- Source: https://tokrepo.com/en/workflows/c457becc-3638-11f1-9bc6-00163e2b0d79 Author: AI Open Source