First, use the download
Portal https://pan.baidu.com/s/1OI-novVYy-C74HIUfr9E6w
Windows:
1. After downloading, open the TTF folder and select All right-click Install.
2. Or use chocolatey:
Install Firacode
Mac:
1. Open the TTF folder after downloading, select all right-click to open, or use font book to open, select "Install Fonts".
2. Or use brew and cask, but it is possible to install an outdated version.
Brew tap caskroom/Install Font-fira-code
Linux:
Don't write, play Linux is Dalao
The above is translated from the GitHub wiki of Fira code, portal Https://github.com/tonsky/FiraCode/wiki
The following is written in Idea and Phpstorm (Pycharm Phpstorm should also be the same) how to set up and upgrade after the garbled how to solve.
CTRL + ALT + S Open → → → → Settings
Editor
Colors & Fonts
Font
Enable Font Ligatures 勾选开启连字。
Then choose Fira Code Apply save in font to take effect.
If you use a Windows system, the following characters appear in use in garbled situations
Use CD C:\Windows\Fonts in CMD to jump to the Font Library folder and delete all files such as Firacode-regular_**.ttf (such as Firacode-regular_01.ttf).
Note that if you open the "Fonts" browser in Control Panel, you cannot see those hidden files.
I won't write the way I see it in CMD. Bloggers Use the Cmder to view the Bash method, see this article cmder using the Linux bash pipeline character | grep to filter the files.
Then under the C:\Windows\Fonts path rm-f fira*.* to kill all the FC fonts, and re-hit the latest version.
Then, if you are prompted to delete, the file is in use. You can use Unlocker to unlock:
1. Installing Unlocker
2. Run cmd with administrator privileges
3. Replace the path with the following command with the drive letter and use the Font folder as the disk drive. If you have a Q-plate already, you can change it to another letter.
Subst q:c:\windows\fonts
4. Open Unlocker and Start unlocker.
5. Select the file you want to unlock from the Q-disk such as Firacode-regular_01.ttf this option Delete click Unlock All
6. At the command line, enter the following to cancel the drive letter.
SUBST/D Q:
Note: Unlocker is not measured by some bloggers, the above is translated from the GitHub wiki of Fira code.
Portal Https://github.com/tonsky/FiraCode/wiki/Intellij-products-instructions
IntelliJ idea Pycharm Phpstorm webstorm using Firacode as a programming font, updated character garbled problem resolved