- Install Windows package manager (winget)
- Install PowerShell 7
winget install --id=Microsoft.PowerShell -e
- Install Fluent Terminal
- Install nerd font of choice mine is FuraCode Nerd Font
- Open releases on github
- Download font of choice
- Download
Hack
- Download
HeavyData
- Install all of them!
- Configure Fluent Terminal
- Change font under Terminal to your font of choice
- Add PowerShell 7 Profile to Fluent Terminal
Name | Value |
---|---|
Name | Powershell 7 |
Shell executable location | C:\Program Files\PowerShell\7\pwsh.exe |
Arguments | -NoLogo |
Use ConPty | Yes |
Enviorment variables | TERM: xterm-256color |
- Install oh-my-posh
Install-Module oh-my-posh -Scope CurrentUser
- Update PSReadLine to latest PreRelease build
- Shutdown all instances of powershell 7, run
tasklist | find "pwsh"
to verify - Run
pwsh -noprofile -command "Install-Module PSReadLine -Force -SkipPublisherCheck -AllowPrerelease"
- Shutdown all instances of powershell 7, run
- Install posh-git
Install-Module posh-git -Scope CurrentUser -Force
- Configure Powershell
- Enable PSReadLine
Add-Content $profile "Import-Module PSReadLine`nSet-PSReadLineOption -predictionsource history`nSet-PSReadLineOption -Colors @{ InlinePrediction = '#8bab5c'}"
- Enable posh-git
Add-Content $profile "Import-Module posh-git"
- Find what theme you want to use i use paradox
- Enable oh-my-posh theme
Add-Content $profile "Set-PoshPrompt -Theme Paradox"
- Enable PSReadLine
- Install gsudo
winget install --id=gerardog.gsudo -e
- Restart Fluent Terminal by right clickling on the tray icon and selecting Exit
- Start Fluent Terminal and start a powershell 7 tab and you should be met with something that looks like the image above.