Transform your terminal prompt into an intelligent, context-aware display.
Oh My Posh is a blazing-fast prompt theme engine built with Go. It works with any shell — CMD, PowerShell, Bash, Zsh, Fish — and on any OS. With over 180 built-in segment types, your prompt shows Git status, active language versions, cloud context, and much more.
Paired with Cmder + Clink, it gives Windows CMD the intelligent, context-aware prompt that Linux developers have enjoyed for years — you know your branch state before typing a single command.
Git Prompt — Before & After
One-line setup on Windows using winget:
winget install JanDeDobbeleer.OhMyPosh
Segment icons require a patched font. Install one, then set it in Cmder (Win+Alt+P → Main → Font):
oh-my-posh font install
Add to %CMDER_ROOT%\config\user_profile.cmd to initialise on every new tab:
@for /f "delims=" %%i in ('oh-my-posh init cmd') do @%%i
Browse 50+ themes at ohmyposh.dev/docs/themes, then point to your chosen file:
oh-my-posh init cmd --config "%POSH_THEMES_PATH%\jandedobbeleer.omp.json"
Comments
Sign in with GitHub to leave a comment or reaction.