Contents

Getting Started Alacritty Terminal

Introduction

Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance. The supported platforms currently consist of BSD, Linux, macOS and Windows.

Installation

NIX

You can use NIX install Alacritty. Nix/Getting Started with Nix

Arch Linux

1
yay -S mesa-git alacritty-git

Set as default terminal

Ubuntu

it is necessary to define it as an alternative available for ‘terminal’ type applications:

1
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/alacritty 50

(The number ‘50’ at the end represents the priority of the entry)

It will then be possible to define it as the default terminal, thanks to the command:

1
sudo update-alternatives --config x-terminal-emulator

Finally, if you want to remove alacritty from the available alternatives:

1
sudo update-alternatives --remove "x-terminal-emulator" "/usr/bin/alacritty"

I3 WM

1
bindsym $mod+Return exec alacritty

Reference List

  1. https://betterprogramming.pub/a-minimal-and-configurable-terminal-setup-72aa833672e
  2. https://frantzroulet.com/blog/other/2018/12/26/how-to-choose-alacritty-as-default-terminal.html