MAC Powerline fonts 字体安装

4 min read

Quick installation (安装)

If you are running a Debian or Ubuntu based Linux distribution, there should be a package available to install the Powerline Fonts (字体) with the following command:

sudo apt-get install fonts-powerline

For fedora (tested on 28) or redhat based Linux distribution, there should also be a package available to install with the following command:

sudo dnf install powerline-fonts

On other environments, you can copy and paste (粘贴) these commands to your terminal. Comments are fine too.

# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts