As the standard terminal has issues displaying the ANSI characters correctly, we advise using iTerm2 or any other modern day macOS terminal that supports ANSI characters.
To display all icons, we recommend the use of a Nerd Font.
A Homebrew formula is available for easy installation. When installing Homebrew for Linux, be sure to follow Next steps instructions to add Homebrew to your PATH and to your bash shell profile script.
This installs two things:
oh-my-posh- Executable, added to
themes- The latest Oh My Posh themes
If you want to use a standard theme, you can find them in
$(brew --prefix oh-my-posh)/themes, referencing them as such
will always keep them compatible when updating Oh My Posh.
In case you see strange behaviour in your shell, reload it after upgrading Oh My Posh. For example in zsh: