Use nerd font on chromebook terminal and changing the font size


Press ctrl+shift+j in the terminal, then paste the below.

term_.prefs_.set('font-family', 'JetBrains Mono Nerd Font, monospace');
term_.prefs_.set('user-css-text', '@font-face {font-family: "JetBrains Mono Nerd Font"; src: url(""); font-weight: normal; font-style: normal;} x-row {text-rendering: optimizeLegibility;font-variant-ligatures: normal;}')

See for details.

Plus, you can change font size.

term_.prefs_.set('font-size', 15)

This is from

p.s. It still doesn’t render all the icons, e.g,. vim-tree in nvim. I don’t know answer for that.


Leave a Reply

Your email address will not be published. Required fields are marked *