Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Windows Terminal Setup

Windows Terminal Setup

References:

Prerequisites

  1. Set default terminal application to Windows Terminal.

    • Settings, Startup.
    terminal-startup
  2. Install Caskaydia Cove Nerd Font for Glyphs

    • Extract and copy to c:\windows\fonts
    • Settings, Profiles, PowerShell, Appearance, Fontface, select CaskaydiaCove NF
    • VS Code Settings, Text Editor, Font, add 'CaskaydiaCove NF',
  3. Install Oh My Posh for Windows.

    • Install Oh My Posh using winget with the command: winget install JanDeDobbeleer.OhMyPosh
    • Browse prompt themes: https://ohmyposh.dev/docs/themes
    • Choose a theme and edit your PowerShell $PROFILE: code $PROFILE
    • Paste (replacing theme): oh-my-posh --init --shell pwsh --config ~/AppData/Local/Programs/oh-my-posh/themes/jandedobbeleer.omp.json | Invoke-Expression
  4. Install Terminal Icons

    • Install-Module -Name Terminal-Icons -Repository PSGallery
    • code $profile, paste Import-Module -Name Terminal-Icons
  5. Optional: Install Oh My Posh on WSL Ubuntu.

    • Follow instructions for manual Linux installation.
    • Edit .bashrc file: code ~/.bashrc
    • Paste eval "$(oh-my-posh --init --shell bash --config ~/.poshthemes/jandedobbeleer.omp.json)"
    • Windows Terminal Settings, Profiles, Ubuntu, Appearance, Font face, select CaskaydiaCove NF.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment