Note: since version 0.1.1 of the module this now works in Windows PowerShell or PowerShell Core.
- Download and install this version of Literation Mono Nerd Font which has been specifically fixed to be recognised as monospace on Windows:
(see this issue for more info: ryanoasis/nerd-fonts#269)
- Modify the registry to add this to the list of fonts for terminal apps (cmd, powershell etc.):
$key = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont'
Set-ItemProperty -Path $key -Name '000' -Value 'LiberationMono NF'
-
Open PowerShell, right click the title bar > properties > Font > select your new font from the list.
-
Install and load Terminal-Icons:
Install-Module Terminal-Icons -Scope CurrentUser
Import-Module Terminal-Icons
Result:
This should cover everything for the font installation and setup of Terminal-Icons Module. Note that in the above you mention "LiberationMono", but I believe that the embedded font name is in fact LiterationMono (nerd-fonts/patched-fonts/LiberationMono/complete/Literation Mono Nerd Font Complete Mono Windows Compatible.ttf)
You should be able to just throw all of the below into any PowerShell Admin console and everything should complete (please let me know if any tweaks are required). Unfortunately, we have to click a button at the font installation step (if you find a way to suppress that please let me know):