-
Install required modules
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
Update-Module -Name oh-my-posh -AllowPrerelease -Scope CurrentUser
-
Install a Nerd Font and configure your terminal to use the installed Nerd Font
-
Download
monochrome.omp.json
to your$HOME
directory. -
Create or edit your powershell profile ($PROFILE) and add these lines:
Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt -Theme ~/monichrome.omp.json
- Restart your terminal