Skip to content

Instantly share code, notes, and snippets.

@stramel
Last active November 14, 2024 09:13
Show Gist options
  • 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

@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).

@reactoholic
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 :)

@pro100ruslan4ik
Copy link

Thank you!

@Jason-Young-AI
Copy link

Awesome, thank you!!!

@pramoodsurya
Copy link

Unblocking worked for me. Thank you!

@zerescas
Copy link

Great, it really works, thanks

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