/ Home

Oh My Posh

Windows

1. Install PowerShell 7

winget install Microsoft.PowerShell

2. Install Oh My Posh

winget install JanDeLaHaye.OhMyPosh

3. Install a Nerd Font

Download MesloLGS NF or CaskaydiaCove NF from nerdfonts.com

4. Set the Color Scheme

In Windows Terminal → Settings → Open JSON file, add to "schemes":

{
  "name": "MaroonDark",
  "background": "#2D0A1E",
  "foreground": "#E0D0D8",
  "black": "#1A0010",
  "red": "#FF5555",
  "green": "#50FA7B",
  "yellow": "#F1FA8C",
  "blue": "#6272A4",
  "purple": "#BD93F9",
  "cyan": "#8BE9FD",
  "white": "#F8F8F2",
  "brightBlack": "#44475A",
  "brightRed": "#FF6E6E",
  "brightGreen": "#69FF94",
  "brightYellow": "#FFFFA5",
  "brightBlue": "#D6ACFF",
  "brightPurple": "#FF92DF",
  "brightCyan": "#A4FFFF",
  "brightWhite": "#FFFFFF"
}

Then in your PowerShell profile entry, set:

"colorScheme": "MaroonDark"

5. Apply an Oh My Posh Theme

Open your PowerShell profile:

notepad $PROFILE

Add this line:

oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\jandedobbeleer.omp.json" | Invoke-Expression

Run Get-PoshThemes to preview all available themes and find the closest match.

6. Reload Profile

. $PROFILE

Prompt Segments Reference

Segment Color Description
pwsh Cyan pill Shell indicator
Folder icon Orange Current directory
7ms Teal Command execution time
Windows icon Blue OS indicator (right side)
88% Yellow/Green Battery level (right side)
5, 11:15 Blue Date and time (right side)

Tips