一、Nerd Font 是什么?
Nerd Font 是为开发人员准备的,具有大量字形(图标)的字体。特别是从流行的“标志性字体”中添加大量额外的字形,如Font Awesome、Devicons、Octicons等。
二、安装步骤
1.克隆仓库
git clone https://github.com/ryanoasis/nerd-fonts.git --depth 1
略大,约1G,克隆完成截图如下:

2.安装字体
nerd-fonts/install.sh
3.配置iTerm2
Profile -> Text -> Font = “Hack Nerd Font”

4.测试字体