My readers know that I prefer the Hack font ☝️. Here’s a simple example of how to install it:

BASH
# create font directory
sudo mkdir /usr/share/fonts/Hack

# download font archive
curl -fsSLO \
    $(curl -s https://api.github.com/repos/ryanoasis/nerd-fonts/releases/latest \
    | grep browser_download_url \
    | grep 'Hack.zip' \
    | cut -d  '"' -f 4)

# unpack archive, copy fonts to system
sudo unzip ./Hack.zip -d /usr/share/fonts/Hack/ && rm -f ./Hack.zip
Click to expand and view more

After installing the font, activate it in your terminal settings🛠.

In Gnome-terminal, this is done as follows:

Start searching

Enter keywords to search articles

↑↓
ESC
⌘K Shortcut