1 Installing_CN
Nikita Prokopov edytuje tę stronę 2022-08-02 21:53:42 +02:00
This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Switch to English

macOS

在已经下载好的 TTF 文件夹内:

  1. 选中所有字体文件
  2. 右键点击并选择打开(也可以选择用字体簿打开
  3. 选择“安装字体”

或者

  • 使用brewcask

    未得到官方支持,有可能安装到已过时的版本

    brew tap homebrew/cask-fonts
    brew install --cask font-fira-code
    

Linux

  • 根据操作指南安装一个符合您的系统版本的软件包

或者

  • 在ttf文件夹内双击每个字体文件并点击“安装字体”如果双击没有用的话请查看“手动安装”部分

FreeBSD

  • 使用pkg(8)pkg install firacode

或者

  • 使用portscd /usr/ports/x11-fonts/firacode && make install clean

Windows

  • 下载最新的字体压缩包Fira_Code_v6.2.zip
  • 在ttf文件夹内双击每个字体文件点击“安装”或“安装字体”想要一次性全部安装的话选中所有字体文件右键点击然后选择“安装”
  • 在某些系统中尤其是Windows 10您可能需要在安装之前“解除锁定”每个字体文件。要这么做的话右键点击每个字体文件点击属性然后在常规标签中的下方安全那一栏的右边位置选中“解除锁定“。点击确定然后安装。注意跳过这一步有可能会使Fira Code系列字体间歇性的在VS Code中停止工作虽然这个字体依然会在其他应用中显示。

或者

在Windows 10中打开设置找到字体设置并将ttf文件夹内的字体文件拖到上方的“拖放以安装”区域中。

或者

  • 使用chocolateychoco install firacode

  • 使用scoop

    以管理员身份运行

    scoop bucket add nerd-fonts
    scoop install firacode