Install Alacritty

Install Alacritty on Mac OS. I’m on Mac, so this install guide is Mac-centric, but see the Alacritty repo for more installation instructions. Since Alacritty is a GUI app (icon in the Applications directory), in Homebrew-land this means it’s a 'cask', and has to be installed with the -cask flag. This simple tutorial shows how to install the fastest terminal emulator, Alacritty, in Ubuntu 20.04, Ubuntu 20.10, Linux Mint 20 via PPA. Alacritty is a cross-platform, GPU-accelerated terminal emulator works on macOS, Linux, BSD, and Windows.

  1. Install Alacritty On Ubuntu
  2. Install Alacritty Arch
  3. Alacritty Download
  • Recently the Termite maintainer decided that he has had enough dealing with the VTE library and rather than handing the project off to someone else has decid.
  • Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments.
  • Hi all, has anyone managed to install Alacritty terminal on Debian 10? Options I found so far: - Manually (but with loads of dependencies including rust packages) - Snap (I didn't want to use snaps, but apparently it's the safest option as I don't want to put all of those rust packages on my minimal Debian).
Latest version

Released:

Change colorscheme of alacritty with ease

Project description

Change colorscheme of alacritty with ease.

Installation

You can install alacritty-colorscheme using pip:

Usage

Getting colorschemes

  • You can get colorschemes from aaron-williamson/base16-alacritty

  • You can also get colorschemes from from eendroroy/alacritty-theme

Sync with vim/neo-vim

If you are using base16 colorschemes frombase16-vim plugin, you can usethe -V argument to automatically generate ~/.vimrc_background file when youchange alacritty colorscheme. You will need to source this file in your vimrcto load the same colorscheme in vim.

Add this in your .vimrc file:

When you change your alacritty colorscheme, you simply need to source~/.vimrc_background or your vimrc.If you are a neo-vim user, ~/.vimrc_background will be automatically sourced.

Examples

bash/zsh aliases

Add this in your .zshrc or .bashrc file:

Install Alacritty On Ubuntu

i3wm/sway bindings

Add this in your i3 config file:

Development

Running locally

Install Alacritty Arch

Installing locally

License

Content of this repository is released under the [Apache License, Version 2.0].

Release historyRelease notifications | RSS feed

1.0.0

0.2.1

Install Alacritty

0.2.0

0.1.2

0.1.1

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for alacritty-colorscheme, version 1.0.0
Filename, sizeFile typePython versionUpload dateHashes
Filename, size alacritty_colorscheme-1.0.0-py3-none-any.whl (6.6 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size alacritty-colorscheme-1.0.0.tar.gz (9.7 kB) File type Source Python version None Upload dateHashes
Close

Hashes for alacritty_colorscheme-1.0.0-py3-none-any.whl

Hashes for alacritty_colorscheme-1.0.0-py3-none-any.whl
AlgorithmHash digest
SHA2563f88a7b847543f68f857d939276074f3ea63c4cff43cf0ae499b362bf32778c1
MD5169e918d8a5b52f1d052ca7901b3036b
BLAKE2-256ae3138b2c7d941d6050c3da7428832352896f1c3d71756a6015a6db1e4ef9866
Close

Hashes for alacritty-colorscheme-1.0.0.tar.gz

Hashes for alacritty-colorscheme-1.0.0.tar.gz
AlgorithmHash digest
SHA2569b4f9c95fb58edbef97452ba5a3fb9bfe989da4601beb0b025350cfc1acab22d
MD56c0d61c182d053c7e5555fbf1dc4ce1c
BLAKE2-256fa64cc6d789c5859582467577079b8267c615c226aaa8ab2324e7ce970f5185a

Alacritty, the nihilist terminal setup

Alacritty is a suckless terminal emulator written in Rust, it’s extremely fast and very simple. Here’s how to install and configure it.

What is a suckless program?

Software with a focus on simplicity, clarity, and frugality.

Meaning, for example, that Alacritty will never 'call home' to gather telemetry, aka track you. It will never haze you with automated update notices. There’s no package manager, there’s no GUI for settings, nor for menus, it doesn’t have tabs, there’s nothing... just a void of pure, unadulterated nihilism.

This either sucks less, or sucks more, depending on your personality.

Install Alacritty on Mac OS

I’m on Mac, so this install guide is Mac-centric, but see the Alacritty repo for more installation instructions.

Since Alacritty is a GUI app (icon in the Applications directory), in Homebrew-land this means it’s a 'cask', and has to be installed with the --cask flag:

The --no-quarantine option is needed because Alacritty isn’t part of the Apple developer program. Otherwise you might get this error:

Check your version with the capital V:

And upgrade Alacritty if needed:

Setup terminfo

From the docs:

Alacritty Download

To make sure Alacritty works correctly, either the alacritty or alacritty-direct terminfo must be used. The alacritty terminfo will be picked up automatically if it is installed.

Install AlacrittyInstall Alacritty
I’ve used Alacritty successfully without terminfo, though.

Test if you got terminfo installed:

Clone Alacritty because we need bits from it, and hop into the dir:

Then setup terminfo:

Configuring Alacritty

Config is done with a YAML file that lives in ~/.config/alacritty/alacritty.yml. This is great, because now you can keep the config in your dotfiles and share it between machines, which you can’t do with iTerm for example.

My config is pretty default, but I’ve cherry picked few things to highlight here. See the full config below.

Copying with mouse

Copy the selected text to system clipboard without having to press Cmd/Ctrl+c:

Remapping alt for your keyboard layout

This mapping is for British keyboard layout. This is needed so that you can type hashes in Vim for example, which is Alt+3.

See this thread in GitHub for more examples. And a this Wiki entry for more keyboard configs for layouts like German, Swiss, Italian, Spanish, Portuguese...

Handle fish shell

If you’re on fish, tell Alacritty about it:

Get the path to your fish with $ which fish.

Then set the fish completion by grabbing the alacritty.fish completion mapping from the Alacritty repo we cloned earlier:

Clickable URLs

Make URLs clickable when Cmd is held down:

But why can’t I click URLs even if I have configured it the right way? You might be in a tmux session and have the mouse mode enabled, which captures clicks before Alactitty can see them. The mouse mode can disabled by pressing Shift, so Cmd+Shift click, should work.

Color themes

See a selection of color themes in the Alacritty repo.

Install Alacritty

Full config file

This is my full config at the time of writing this:

See all the options in the freshest config file on the releases page in Alacritty GitHub.

Keyboard shortcuts

Here’s the default ones on Mac:

KeyCommand
Cmd+0ResetFontSize
Cmd+EqualsIncreaseFontSize
Cmd+PlusIncreaseFontSize
Cmd+MinusDecreaseFontSize
Cmd+KClearHistory
Cmd+VPaste
Cmd+CCopy
Cmd+CClearSelection
Cmd+HHide
Cmd+MMinimize
Cmd+QQuit
Cmd+WQuit
Cmd+NSpawnNewInstance
Cmd/Ctrl+FToggleFullscreen
Cmd+FSearchForward
Cmd+BSearchBackward

You can’t pull down 'File' and choose 'New Window', but there’s a default keybinding spawn an new instance Cmd+N. That can be remapped to Cmd+Shift+N for example, with the pipe | you can add modifiers:

The Vi mode

Alactitty has Vi mode. Meaning: you can navigate the prompt with hjkl like in Vim. You can turn the Vi mode with Ctrl+Shift+Space, and exit the Vi mode with the same shortcut.

To copy text in Vi mode, press v and highlight the text you want, then press y (yank) to copy it to your systems clipboard. You can also use mouse to copy text like a normal person.

Using Alacritty

It’s a terminal emulator, so you don’t really use it, you use other programs with it. But you can issue the alacritty command, which will pop out a new window:

You can also start a new Alacritty session using a different config file:

Check the help to see all the flags and options:

Juice it up with Tmux

Since Alacritty is so frugal with features, you really need Tmux (or screen) to go with it.

I have a full post about tmux which has all the good stuff.

Read more:How to install and use tmux

But below is the really basics.

Install:

Pop open a tmux session:

Tmux is all about the keyboard shortcuts, everything starts with a Ctrl+b then followed by a key. For example Ctrl+b % splits your pne into two. Ctrl+b c opens a new window (analogous to a tab). Ctrl+b n goes to the next window, Ctrl+b p to the previous. Check out my above mentioned post about tmux for more details.

Conclusions

Alacritty is pretty easy in the sense that you set it and forget it, it doesn’t need much attention. It took me a while to figure out tmux, though. But tmux is a good program to know, you can carry that knowledge over to other environments.

And by the way; even tho I say it’s 'nihilist', I really love Alacritty ❤️