Skip to content

Instantly share code, notes, and snippets.

@stramel
Last active February 28, 2024 17:45
Show Gist options
  • Star 64 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • Save stramel/658d702f3af8a86a6fe8b588720e0e23 to your computer and use it in GitHub Desktop.
Save stramel/658d702f3af8a86a6fe8b588720e0e23 to your computer and use it in GitHub Desktop.
Installing Powerline fonts on Windows 10

Installing Powerline fonts on Windows 10

Steps

  1. Download and extract zip from here
  2. Press Windows + x
  3. Press a (Selects PowerShell (Admin))
  4. Navigate to directory where fonts were extracted to (cd ${HOME}\Downloads\fonts-master\fonts-master)
  5. Set Execution Policy Set-ExecutionPolicy RemoteSigned [1]
  6. Press y then Enter to accept
  7. Run the install file .\install.ps1
  8. Reset Execution policy Set-ExecutionPolicy Default
  9. Press y then Enter to accept
  10. Remove the fonts folder (cd ../.. && Remove-Item -Recurse -Force fonts-master)

NOTES

  • [1] You can also try using Set-ExecutionPolicy Bypass if RemoteSigned doesn't work

Resources

@diamond-fish
Copy link

Note that the new default monospace font in VS Code and Windows Terminal also has a PL version.

@chinmaydeo-ms
Copy link

Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned

Please use this if you are paranoid about security (instead of making a permanent change for 'machine' scope).

@KibobiShtrudelz
Copy link

Awesome, thank you!
Unlocking the instal.ps1 through the PowerShell didn't worked for me so if someone run into the same issue just right-click the file and check the bottom-right "Unlock" checkbox. Then you can execute the file into your PowerShell :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment