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.
Agent 可直接安装
这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。
npx -y tokrepo@latest install c457becc-3638-11f1-9bc6-00163e2b0d79 --target codex先 dry-run 确认安装计划,再运行此命令。
What it is
Alacritty is a cross-platform terminal emulator written in Rust that uses GPU acceleration via OpenGL for rendering. It deliberately omits tabs and splits, focusing entirely on being the fastest terminal renderer available. Configuration is handled through a TOML file, and it runs on macOS, Linux, Windows, and BSD.
Alacritty targets power users and developers who want the fastest possible terminal rendering and prefer to handle window management, tabs, and splits through a separate tool like tmux or a tiling window manager.
How it saves time or tokens
Alacritty's GPU-accelerated rendering eliminates the input lag and frame drops that plague software-rendered terminals during heavy output (builds, logs, large diffs). Scrolling through thousands of lines of output feels instant. The minimal feature set means fewer configuration options to manage and fewer things that can break. Startup time is near-instant compared to Electron-based terminals.
How to use
- Install Alacritty:
brew install --cask alacritty # macOS
sudo snap install alacritty --classic # Linux
scoop install alacritty # Windows
cargo install alacritty # From source
- Create a configuration file:
# ~/.config/alacritty/alacritty.toml
[font]
size = 14.0
[font.normal]
family = 'JetBrains Mono'
[colors.primary]
background = '#1e1e2e'
foreground = '#cdd6f4'
[window]
opacity = 0.95
padding = { x = 8, y = 8 }
- Launch Alacritty from your application launcher or terminal.
Example
A complete configuration with key bindings and cursor settings:
# ~/.config/alacritty/alacritty.toml
[font]
size = 13.0
[font.normal]
family = 'Fira Code'
style = 'Regular'
[cursor.style]
shape = 'Beam'
blinking = 'On'
[scrolling]
history = 10000
[[keyboard.bindings]]
key = 'N'
mods = 'Command'
action = 'CreateNewWindow'
[[keyboard.bindings]]
key = 'Return'
mods = 'Command'
action = 'ToggleFullscreen'
Related on TokRepo
- AI coding tools — developer tools and IDE extensions
- Featured workflows — curated high-quality developer resources
Common pitfalls
- Alacritty has no built-in tabs or splits. Pair it with tmux, zellij, or a tiling window manager for multi-pane workflows.
- GPU driver issues on Linux can cause rendering artifacts. Ensure your OpenGL drivers are up to date, especially on Wayland.
- The configuration file location varies by OS. Check
~/.config/alacritty/on Linux/macOS and%APPDATA%\alacritty\on Windows.
常见问题
Alacritty's philosophy is to do one thing well: render terminal output fast. Tabs and splits are handled better by dedicated tools like tmux or zellij, which also work across different terminal emulators.
iTerm2 is macOS-only and feature-rich with tabs, splits, profiles, and a search UI. Alacritty is cross-platform and faster at raw rendering but requires tmux for equivalent window management. Choose based on whether you value features or speed.
No. Alacritty does not support font ligatures by design, as ligature rendering adds complexity and latency. If you need ligatures, consider Kitty or WezTerm.
Yes. Alacritty and tmux is one of the most popular terminal setups. Tmux handles sessions, windows, and panes while Alacritty handles fast rendering. Add true-color support with the right tmux.conf settings.
Alacritty uses TOML for configuration. Place your config at ~/.config/alacritty/alacritty.toml. Changes are applied live without restarting the terminal.
引用来源 (3)
- Alacritty GitHub— Alacritty is a GPU-accelerated terminal emulator written in Rust
- Alacritty Configuration— Configuration via TOML, supports macOS, Linux, Windows, BSD
- Alacritty README— OpenGL-based GPU rendering for terminal output
讨论
相关资产
kitty — The Fast, Feature-Rich Terminal with GPU Rendering and Image Protocol
kitty is a feature-rich GPU-accelerated terminal with tabs, splits, SSH integration, and its own terminal graphics protocol used by tools like icat and MPV. It combines the speed of Alacritty with the features of iTerm2.
bottom — Beautiful Cross-Platform System Monitor in Rust
bottom (btm) is a customizable, cross-platform graphical system monitor for the terminal. It displays CPU, memory, network, disk, temperature, and process information with interactive charts — a modern alternative to top, htop, and btop.
Task — Fast Cross-Platform Build Tool for Modern Workflows
Task is a task runner and build tool written in Go. It uses simple YAML configuration as a modern, cross-platform alternative to Make — with better syntax, built-in variables, watch mode, and no platform-specific quirks.
Kivy — Open-Source Python Framework for Cross-Platform Apps with a Single Codebase
Kivy lets you write touch-friendly cross-platform apps entirely in Python. One codebase runs on iOS, Android, Windows, macOS, Linux, and Raspberry Pi — the Python way to build mobile and kiosk UIs.