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

@Toltar
Copy link

Toltar commented May 23, 2022

Awesome script for this thanks!

@ryanlong1004
Copy link

👌

@estudioprogramacaocriativa

Nice man. Thank you for that!

@ferlagher
Copy link

Thank you! 👍🏻

@ibrahimaji
Copy link

thanks man!

@loijilai
Copy link

loijilai commented Sep 8, 2022

Thank you!

@Dando-Real-ITA
Copy link

Thank you!

@HotMasya
Copy link

HotMasya commented Oct 6, 2022

Awesome script, thanks :)

@kungelee
Copy link

Thank you!

@avluis
Copy link

avluis commented Nov 27, 2022

PowerShell kept complaining about the Execution Policy, try Unblock-File .\install.ps1 -- needed it in my case.

@ljs904123126
Copy link

Thank you!

@captain357
Copy link

Thanks so much 👌

@lopea
Copy link

lopea commented Jan 14, 2023

Thanks!

@coderpiaobozhe
Copy link

Thx a lot!

@brick-ninja
Copy link

Thank you!

@murtuzaalisurti
Copy link

brilliant! thanks a lot 🤝

@murtuzaalisurti
Copy link

@stramel Using ExecutionPolicy RemoteSigned also worked for me!

@stramel
Copy link
Author

stramel commented May 14, 2023

@murtuzaalisurti Thanks, I will add a note about that.

@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