💻✨ Make Your Terminal Beautiful: Install Oh My Posh + Auto Suggestions on Windows 🧠🔥
If you're a developer or power user, here's how to turn your terminal into a smart, stylish productivity tool 👇
✅ Requirements
- Windows 10 or 11
- PowerShell 7 (recommended)
- Windows Terminal (from Microsoft Store)
① Install Windows Terminal
📥 Download from Microsoft Store
② Install PowerShell 7 (if not installed)
③ Install Oh My Posh
winget install JanDeDobbeleer.OhMyPosh -s winget
④ Install Nerd Font (for icons and glyphs) 📥 Download a Nerd Font 💡 Recommended: CascadiaCode Nerd Font
Then:
Open Windows Terminal
Go to Settings → PowerShell → Appearance → Font face
Set font to: CascadiaCode Nerd Font
⑤ Configure Oh My Posh in PowerShell
Open your PowerShell profile:
notepad $PROFILE
Add the following line:
oh-my-posh init pwsh --config "$(oh-my-posh get shell --shell pwsh --config ohmyposh.json)" | Invoke-Expression
💡 To view available themes:
Get-PoshThemes
⑥ Enable Auto Suggestions & History Search
Install PSReadLine:
Install-Module -Name PSReadLine -Force -SkipPublisherCheck
Then add these lines to the end of your $PROFILE file:
Set-PSReadLineOption -PredictionSource History
Set-PSReadLineOption -PredictionViewStyle ListView
Set-PSReadLineOption -Colors @{ InLinePrediction = '#888888' }
🎉 Final Result ✅ Modern terminal look ✅ Smart auto-suggestions ✅ Boosted productivity & clean visuals