Alacritty
A cross-platform OpenGL terminal emulator configured through files and designed around keyboard-driven terminal workflows.
Why consider Alacritty?
A fast, cross-platform, OpenGL-accelerated terminal emulator written in Rust.
Learn Alacritty by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
Overview
Alacritty is an OpenGL-accelerated terminal emulator designed to provide high performance without unnecessary complexity. Developed with a focus on speed and simplicity, it deliberately omits certain features commonly found in other terminals in favor of letting users integrate it with dedicated tools. Alacritty provides a modern terminal emulator experience designed with sensible defaults and extensive customization options. The project integrates with other applications instead of reimplementing their functionality, offering flexible features and fast performance.
Alacritty is cross-platform, offering support for operating systems including BSD, Linux, macOS, and Windows. This ensures that users can maintain a consistent terminal workflow regardless of their primary operating system.
Installation
The fastest way to get started with Alacritty is by installing prebuilt binaries provided for your operating system. For macOS and Windows, binary releases are attached to the project's official GitHub releases page. Linux users can often find Alacritty in their distribution's package manager.
Alternatively, developers familiar with the Rust ecosystem can build the project from source. If you only want the binary without additional files like shell completions or desktop entries, you can install Alacritty via cargo:
cargo install alacrittyWhen building via cargo, ensure that all necessary system dependencies are installed on your host machine, such as CMake, fontconfig, and relevant graphics libraries depending on your OS and display server.
Vi Mode and Navigation
One notable feature of Alacritty is its keyboard-centric navigation, catering to users who prefer to minimize context-switching to a mouse. Users can navigate the viewport and scrollback using a built-in vi mode directly from the keyboard. Once activated, the cursor motions behave similarly to standard vi commands, though they can be fully remapped through Alacritty's configuration file.
The vi mode can also serve as a starting point to search for text or interact with URLs without a mouse. For example, while in vi mode, users can easily make semantic or block selections and copy text directly into their system clipboard, streamlining the process of extracting logs or error messages from the scrollback buffer.
Search Capabilities
Terminal sessions often generate significant output, making it essential to retrieve past context quickly. You can find arbitrary text in the terminal's scrollback buffer using the integrated search functionality. This feature can be triggered using native keyboard shortcuts and operates in both forward and backward directions.
Combining the search capabilities with Alacritty's rendering speed ensures that even when navigating through thousands of lines of verbose application logs or build outputs, the terminal remains responsive and quickly highlights the requested patterns. This immediate feedback loop is critical for developers trying to debug complex processes without leaving their terminal environment.
Configuration
Alacritty uses a TOML configuration file to define its behavior. Since the project aims to run out of the box with sensible defaults, it does not create a configuration file by default. Users who wish to modify the color scheme, font settings, key bindings, or window behavior must create their own configuration file in the appropriate directory for their OS.
Because Alacritty offloads complex layout management to external tools, its configuration remains focused strictly on terminal emulation properties. This separation of concerns allows the codebase to remain relatively small and highly optimized for rendering text streams to the screen using the GPU.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.