1. Setup your terminal
While Oh my Posh works on the standard terminal, we advise using the Windows Terminal.
To see the icons displayed in Oh my Posh, install and configure your terminal to use a powerline enabled font. The fonts we use are patched by Nerd Fonts, which offer a maximum of icons you can use.
Make sure to install fonts system wide to avoid seeing rectangles in your terminal. See this thread for more context.
2. Download the latest binary
A Scoop package is available to assist installs on Windows.
3. Download the themes
When using Scoop, all themes are downloaded as well.
Preview the themes
When using Scoop, replace
"$(scoop prefix oh-my-posh)/themes/*"
4. Replace your existing prompt
If you have no idea which shell you're currently using, Oh my Posh has a utility switch that will you tell you.
Add the following to
Once added, reload your profile for the changes to take effect.
5. Next steps
At this point you're good to go. The
jandedobbeleer.omp.json theme displays most common use-cases
in your prompt so 9/10 you'll be more than happy with it. However, if you want to explore additional
functionality, going through the additional steps below will help you get started.
Change the theme
We downloaded all the themes and set
jandedobbeleer.omp.json as the one to use.
However, there are a lot more to be discovered and maybe there are some you like better.
Adjust your configuration to use any other theme from the folder we created (
Override the theme settings
Maybe there's a theme you like, but you don't fancy the colors. Or, maybe there's a segment you want to tweak/add, or replace some of the icons with a different one. Whatever the case, read through all available options first, by starting with the configuration guide.
Afterwards, the easiest way to go about this is to print the current config and store it elsewhere first (for example
This will write the current configuration in your shell, allowing you to copy paste it in a new file and store it somehwere. Once adjusted to your liking, change the prompt setting to use the newly created file.