An Oh-My-Posh theme for those who want Powerlevel10k theme on Powershell that doesn't look like this
-
Windows Terminal (How to install)
-
Update to Powershell core 7 if not already (Update!)
-
Download the MesloLGS NF font: Download these four ttf files:
Double-click on each file and press "Install". This will make MesloLGS NF font available to all applications on your system. Configure your Windows Terminal to use this font:
Open Settings (Ctrl+,)
, search for fontFace and set value to MesloLGS NF for every profile.
-
Run
Install-Module posh-git -Scope CurrentUser
andInstall-Module oh-my-posh -Scope CurrentUser
-
Create a powershell profile if you haven't already:
New-Item -ItemType File -Path $PROFILE
-
Open up the file
$profile
in your text editor of choice (VScode:code $profile
, Notepad:notepad $profile
) -
Add these lines:
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme pwsh10k
-
Run
git clone https://github.com/Kudostoy0u/pwsh10k
-
Run
cd pwsh10k
-
Run
.\install.ps1
-
Restart terminal and you should see a great terminal!
- Visual Studio Code: Open File → Preferences → Settings, enter terminal.integrated.fontFamily in the search box and set the value to MesloLGS NF