Fira Code
Nikita Prokopov · A monospaced programming font with ligatures for common multi-character code sequences.
- 近 30 天安裝
- 1,435
- 近一年安裝
- 2.6萬
- 365 天累計
- 最新版本
- 6.2
- 2021年12月6日 · 2021年12月6日
- 下載大小
- 2.5MB
- arm64 / x86_64 · zip
- 更新節奏
- 不定期
- 近 30 天 0 個版本
Fira Code 是可以安裝在 Mac 上的字型。開發者是 Nikita Prokopov。
基本資訊
- 字型檔案
- 7 · TTF
- 安裝位置
~/Library/Fonts- 開發者
- Nikita Prokopov
- 安裝命令
brew install --cask font-fira-code- Homebrew
- 可以安裝,由 Homebrew 更新
- 其他名稱
- font-fira-code
介紹
Fira Code is a monospaced font designed for reading and writing code. It renders common sequences such as -> and <= as connected symbols, while the underlying text remains ASCII-compatible.
This Homebrew cask installs static regular, light, medium, Retina, semibold, and bold font styles, plus a variable font. Fira Code is a font package, not an application. The project also describes character variants, stylistic sets, and other OpenType features that can be configured in supporting software. The font includes glyphs for arrows and console-style interfaces, as well as selected mathematical symbols; it does not provide full Unicode coverage.
Install with brew install --cask font-fira-code. After installation, select “Fira Code” or the installed variable-font family in your editor or terminal’s font settings. Ligatures are a rendering feature, so the application must support them and may require enabling them in its settings. The project lists compatible editors and terminals, but support varies by application.
系統要求
| macOS | 應用版本 | 晶片 | 下載 | 來源 |
|---|---|---|---|---|
| 適用於 macOS 27, 26, 15, 14, 13, 12, 11 的版本 | 6.2 | Intel | github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zipSHA-256 0949915ba8eb24d89fd93d10a7ff623f42830d7c5ffc3ecbf960e4ecad3e3e79 | Homebrew核查於 |
| 適用於 macOS 27, 26, 15, 14, 13, 12, 11 的版本 | 6.2 | Apple 晶片 | github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zipSHA-256 0949915ba8eb24d89fd93d10a7ff623f42830d7c5ffc3ecbf960e4ecad3e3e79 | Homebrew核查於 |
如何在 Mac 上安裝 Fira Code
- 在「終端機」中執行:
brew install --cask font-fira-code - Homebrew 會把字型安裝到 ~/Library/Fonts,之後可以在「字型冊」中使用。
不用 Homebrew 安裝
直接下載 Homebrew 使用的同一個檔案: github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip
SHA-256 只用來核對下載的檔案是否完整,不代表安全認證。 檢視 SHA-256 和下載網址
解除安裝 Fira Code 與可選的資料清理
brew uninstall --cask font-fira-code普通解除安裝會刪除應用本身,設定和快取會保留。
6.2 更新內容
新版本 · OpenNavo 編輯
這個版本沒有單獨的更新說明。
安裝細節
- 來源倉庫
- homebrew/cask
- 下載網址
- https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip
- SHA-256
- 0949915ba8eb24d89fd93d10a7ff623f42830d7c5ffc3ecbf960e4ecad3e3e79
- Homebrew 定義檔案
- github.com/homebrew/homebrew-cask/blob/HEAD/Casks/font/font-f/font-fira-code.rb
- formulae.brew.sh
- formulae.brew.sh/cask/font-fira-code
- 原始碼
- github.com/tonsky/FiraCode
安裝與解除安裝內容
安裝
font來源檔案: ttf/
FiraCode-Bold. ttf 宣告的目標位置: /
$HOME/ Library/ Fonts/ FiraCode-Bold. ttf 檢視完整宣告
{ "font": [ "ttf/
FiraCode-Bold. ], "target": "/ttf" $HOME/ }Library/ Fonts/ FiraCode-Bold. ttf" 安裝
font來源檔案: ttf/
FiraCode-Light. ttf 宣告的目標位置: /
$HOME/ Library/ Fonts/ FiraCode-Light. ttf 檢視完整宣告
{ "font": [ "ttf/
FiraCode-Light. ], "target": "/ttf" $HOME/ }Library/ Fonts/ FiraCode-Light. ttf" 安裝
font來源檔案: ttf/
FiraCode-Medium. ttf 宣告的目標位置: /
$HOME/ Library/ Fonts/ FiraCode-Medium. ttf 檢視完整宣告
{ "font": [ "ttf/
FiraCode-Medium. ], "target": "/ttf" $HOME/ }Library/ Fonts/ FiraCode-Medium. ttf" 安裝
font來源檔案: ttf/
FiraCode-Regular. ttf 宣告的目標位置: /
$HOME/ Library/ Fonts/ FiraCode-Regular. ttf 檢視完整宣告
{ "font": [ "ttf/
FiraCode-Regular. ], "target": "/ttf" $HOME/ }Library/ Fonts/ FiraCode-Regular. ttf" 安裝
font來源檔案: ttf/
FiraCode-Retina. ttf 宣告的目標位置: /
$HOME/ Library/ Fonts/ FiraCode-Retina. ttf 檢視完整宣告
{ "font": [ "ttf/
FiraCode-Retina. ], "target": "/ttf" $HOME/ }Library/ Fonts/ FiraCode-Retina. ttf" 安裝
font來源檔案: ttf/
FiraCode-SemiBold. ttf 宣告的目標位置: /
$HOME/ Library/ Fonts/ FiraCode-SemiBold. ttf 檢視完整宣告
{ "font": [ "ttf/
FiraCode-SemiBold. ], "target": "/ttf" $HOME/ }Library/ Fonts/ FiraCode-SemiBold. ttf" 安裝
font來源檔案: variable_ttf/
FiraCode-VF. ttf 宣告的目標位置: /
$HOME/ Library/ Fonts/ FiraCode-VF. ttf 檢視完整宣告
{ "font": [ "variable_ttf/
FiraCode-VF. ], "target": "/ttf" $HOME/ }Library/ Fonts/ FiraCode-VF. ttf"
關於 Fira Code 的常見問題
如何在 Mac 上徹底解除安裝 Fira Code?
執行 brew uninstall --cask font-fira-code。
Fira Code 的最新版本是多少?
最新版本是 6.2。執行 brew upgrade --cask font-fira-code 即可更新。
來源
頁面上的每項資料都註明來源和核查日期;過期的資料只寫「截至」某日,不再當作當前事實。
- Homebrew 定義:github.com/homebrew/homebrew-cask/blob/HEAD/Casks/font/font-f/font-fira-code.rb · 核查於
- formulae.brew.sh:formulae.brew.sh/cask/font-fira-code