I created my own theme which is a mix of multiple themes from the offical docs adjusted for my needs.
You can find it here.
ln -s ~/CODE/github.com/iamchrishckns/dotfiles/oh-my-posh/themes/iamchrishckns.omp.yaml ~/.theme.omp.yaml
The offical installation docs for linux are here.
With homebrew (already includes the default themes):
brew install jandedobbeleer/oh-my-posh/oh-my-posh
Manually (requires to clone the default themes separately)
sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
sudo chmod +x /usr/local/bin/oh-my-posh
mkdir ~/.poshthemes
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip -O ~/.poshthemes/themes.zip
unzip ~/.poshthemes/themes.zip -d ~/.poshthemes
chmod u+rw ~/.poshthemes/*.json
rm ~/.poshthemes/themes.zip
The offical installation docs for macOS are here.
With homebrew (already includes the default themes):
brew install jandedobbeleer/oh-my-posh/oh-my-posh
It is recommended to have some kind of a Nerd Font installed, otherwise the prompt will not look good 😟.
Right now I use Delugia which is a patched version of Cascadia Code with Nerd Fonts included. I use this instead of the original version of Cascadia Code by Nerd Fonts named "Caskaydia Cove Nerd Font" because I had some display issues with it.
Cascadia Code is a open source monospaced font from Microsoft.
My favorite Nerd Font which I use almost everywhere is "Caskaydia Cove Nerd Font" which is based on the open source monospaced font "Cascadia Code" from Microsoft.