Making Powerline Work In Visual Studio Code Terminal

Matt Stratton on November 01, 2017

As I mentioned in a previous post, I'm totally digging on the embedded terminal in Visual Studio Code. However, as I also mentioned, it wasn't pr... [Read Full]
markdown guide

When I add "Menlo for Powerline" in settings, VSCode say "The terminal only supports monospace fonts."


I had the same problem. What worked for me was setting "terminal.integrated.fontFamily": "Menlo for Powerline" and restarting Visual Studio Code. Making sure not to press the "monospace" dialog that Visual Studio Code presents as this would set "terminal.integrated.fontFamily": "monospace"


Hmm. I just tried this again (on a recently updated VS Code) and it worked for me. This is on OS X; what OS are you on?


I have the very same issue here and I can't get the powerline fonts working on VS code with ubuntu.


Try setting: "terminal.integrated.fontFamily": "monospace",

still not working...

Edited: My Solution.

instead of moving the font file to hidden folder .fonts in user home do this in ubuntu

sudo mv Menlo\ for\ Powerline.ttf /usr/share/fonts/

then sudo fc-cache -vf /usr/share/fonts/

I'm using ubuntu 18.04 at the moment of writting this, hope it helps.


In my case, i was struggling for proper step by step solution for ubuntu 18, so i am writing what worked for me:

  1. Download this font . Create a folder named "Meslo" and extract all the fonts inside it.
  2. Move this folder to /usr/share/fonts/truetype/
  3. Run this command sudo fc-cache -vf /usr/share/fonts/
  4. In settings.json of vscode add this line "terminal.integrated.fontFamily": "MesloLGM Nerd Font",
  5. Save and Restart if necessary, it should work. Done.

Type fc-list | grep -i "meslo" to know the names of other fonts so you can use other fonts in the terminal.


I guess we dont have to download new fonts for this purpose.
Just use the exisiting iTerm font

"terminal.integrated.fontFamily": "same font name as iTerm",

example - 'MesloLGS Nerd Font'


Excellent helpfully info, thank you very much!

code of conduct - report abuse