Use latest version of Alacritty on Ubuntu-based distros 2025/08/09 Sat - 02:21 PM
I tried doing this because I’m currently using Pop!_OS and the version of alacritty available in the apt
is outdated. I want to use the latest features and improvements.
One cool way to install it is through Cargo, which allows you to get the latest version directly from the source.
For up-to-date dependencies for your OS and instructions, refer to the official Alacritty installation guide
Install .deb
dependencies:
sudo apt install cmake g++ pkg-config libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
If you’re using Wayland on Nvidia GPU, you should also install
libegl1-mesa-dev
on Ubuntu.
You should have rust
installed. Instructions here.
Install Alacritty using Cargo:
cargo install alacritty
You’ll probably have to add it as an alternative (skip it if it appears as alternative already)
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator $HOME/.cargo/bin/alacritty 50
Set as default terminal:
sudo update-alternatives --config x-terminal-emulator