A complete setup for a modern, beautiful PowerShell terminal with Oh My Posh, icons, fuzzy finding, and more.
Install the latest version of PowerShell:
winget install --id Microsoft.PowerShell --source wingetAfter installation, restart your terminal and use PowerShell 7+ for all subsequent commands.
Run all commands below in PowerShell (as Administrator recommended):
# Install Scoop (package manager)
irm get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin
Remove-Item 'install.ps1'
# Install Oh My Posh
winget install JanDeDobbeleer.OhMyPosh -s winget
# Install fzf (fuzzy finder)
scoop install fzfInstall-Module -Name Terminal-Icons -Repository PSGallery -Force
Install-Module -Name z -Force
Install-Module -Name PSFzf -Scope CurrentUser -Force
Install-Module -Name PSReadLine -Force -SkipPublisherCheck# Add nerd-fonts bucket (if not already added)
scoop bucket add nerd-fonts
# Install the JetBrains Mono Nerd Font
scoop install JetBrainsMono-NFAfter installation, set the font in Windows Terminal:
- Open Windows Terminal Settings (Ctrl+,)
- Go to Profiles β Defaults β Appearance
- Set Font face to "JetBrainsMono Nerd Font"
# Clone or download this repo, then navigate to it
cd path\to\terminal-settings
# Copy PowerShell profile
$profileDir = Split-Path $PROFILE
if (!(Test-Path $profileDir)) { New-Item -Path $profileDir -ItemType Directory -Force }
Copy-Item -Path "Files\Microsoft.PowerShell_profile.ps1" -Destination $PROFILE -Force
# Copy Oh My Posh theme
Copy-Item -Path "Files\clean-detailed.omp.json" -Destination $profileDir -Force
# Copy Windows Terminal settings (backup your current settings first!)
$wtSettingsPath = "$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json"
Copy-Item -Path "Files\settings.json" -Destination $wtSettingsPath -ForceIf you want to use a different Oh My Posh theme:
[System.Environment]::SetEnvironmentVariable('OH_MY_POSH_THEME', 'C:\path\to\your\theme.omp.json', 'User')Otherwise, the profile will use the included clean-detailed.omp.json theme automatically.
- Oh My Posh: Beautiful prompt with git status, system info, and execution time
- Terminal Icons: Colorful file/folder icons in directory listings
- PSReadLine: Enhanced command-line editing with history search
- PSFzf: Fuzzy finding for files and command history (Ctrl+F, Ctrl+R)
- z: Quick directory jumping based on frecency
- Custom aliases:
vim,vβ nvimtouch,llβ Unix-like commandswhichβ Find command pathclaudeβ Claude Code with auto-skip permissionscopilotβ GitHub Copilot CLI wrapper
- Tab completion with menu
- Up/Down arrow for command history search
- Prediction suggestions from history
- Standard clipboard shortcuts: Ctrl+C (copy), Ctrl+V (paste), Ctrl+X (cut), Ctrl+A (select all)
- Acrylic transparency effect
- Custom color scheme (One Half Dark modded)
- Git integration in prompt
CONFIG ERROR on startup? The Oh My Posh theme file is missing. Copy it to your profile directory:
$profileDir = Split-Path $PROFILE
Copy-Item -Path "Files\clean-detailed.omp.json" -Destination $profileDir -ForceScript execution policy error?
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserOh My Posh not found? Restart your terminal after installation or add to PATH manually.
Font not rendering correctly? Make sure you installed a Nerd Font and set it in Windows Terminal settings.
PSReadLine virtual terminal error? This is a warning when running PowerShell through certain contexts (like git bash or redirected output). It's safe to ignore or disable that specific option in the profile.
Based on this video tutorial with improvements for easier installation.