はじめに
LinuxでもFiraCodeをターミナルで使いかったので
やり方
Hyper
wget https://releases.hyper.is/download/deb
sudo dpkg -i package-x.x.x.deb
FiraCode
sudo add-apt-repository universe
sudo apt install fonts-firacode
fc-list | grep fira
>
/usr/share/fonts/woff/firacode/FiraCode-Regular.woff: Fira Code:style=Regular
/usr/share/fonts/opentype/firacode/FiraCode-Retina.otf: Fira Code,Fira Code Retina:style=Retina,Regular
/usr/share/fonts/woff/firacode/FiraCode-Light.woff: Fira Code,Fira Code Light:style=Light,Regular
/usr/share/fonts/woff/firacode/FiraCode-Bold.woff: Fira Code:style=Bold
/usr/share/fonts/opentype/firacode/FiraCode-Bold.otf: Fira Code:style=Bold
/usr/share/fonts/opentype/firacode/FiraCode-Regular.otf: Fira Code:style=Regular
/usr/share/fonts/opentype/firacode/FiraCode-Medium.otf: Fira Code,Fira Code Medium:style=Medium,Regular
/usr/share/fonts/opentype/firacode/FiraCode-Light.otf: Fira Code,Fira Code Light:style=Light,Regular
/usr/share/fonts/woff/firacode/FiraCode-Medium.woff: Fira Code,Fira Code Medium:style=Medium,Regular
#設定
~/.hypter.js
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Fira Code, "Menlo", "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',