This repository provides a reproducible way to build and install Alacritty, a fast, GPU-accelerated terminal emulator, using Docker and a simple Makefile workflow.
It avoids polluting your host with Rust toolchains and build dependencies by isolating everything inside a container, then exporting the build artifacts.
- Docker (tested on Ubuntu 24.04 host)
- GNU Make
ncurses-bin(providestic) installed on the host for terminfosudo apt-get install ncurses-bin
makeThis will:
- Build Alacritty in Docker
- Export artifacts to
./output/
make VERSION=v0.13.2sudo make installThis will install:
alacrittyβ/usr/local/bin/alacritty- Desktop entry β
/usr/local/share/applications/Alacritty.desktop - Icons β
/usr/local/share/icons/hicolor/... - Terminfo β via
tic(for terminal capabilities)
make checkor
alacritty --versionRemove exported build artifacts and the Docker image:
make clean| Target | Description |
|---|---|
make |
Build and export artifacts to ./output/ |
make install |
Install Alacritty system-wide on the host |
make check |
Run alacritty --version on the exported binary |
make clean |
Remove artifacts and Docker image |
After a build, the output/ directory will contain:
output/
βββ alacritty # compiled binary
βββ Alacritty.desktop # desktop entry
βββ Alacritty.png # app icon (128x128)
βββ Alacritty.svg # scalable app icon
βββ alacritty.info # terminfo source
- By default,
VERSION=latestbuilds from themasterbranch of Alacritty. - For a specific release, pass
VERSION=vX.Y.Z(check Alacritty releases). - Building may take a while on first run, since Rust toolchains and dependencies must be compiled.
This repo just provides build tooling.
Alacritty itself is licensed under the Apache-2.0 license.