Today when installing the most current alacritty version on my new machine, I have encountered errors when trying to clear the screen or using tmux into alacritty.
Here are the errors and how I fixed it:
❯ clear
'alacritty': unknown terminal type.
❯ tmux
missing or unsuitable terminal: alacritty
Here is how to solve that:
$ curl -sSL https://raw.githubusercontent.com/alacritty/alacritty/master/extra/alacritty.info | tic -x -
This will download the terminfo file and apply it.