Transform your PowerShell experience with a stylish, feature-rich terminal environment that rivals Linux terminals in both aesthetics and functionality.
- 🎨 Beautiful prompt with Git integration
- 🔍 Syntax highlighting
- 📁 File icons with Terminal-Icons
- 📊 Intelligent command history with PSReadLine
- 🧠 Smart directory navigation with zoxide
- 🛠️ Chocolatey package manager integration
Run this command in an elevated PowerShell window:
irm "https://github.com/arminzou/PowerShell-Profile/raw/master/setup.ps1" | iexThe setup script automatically installs:
- Oh My Posh
- Nerd Fonts (CaskaydiaCove NF)
- Terminal-Icons
- Chocolatey
- zoxide
For the best experience, you need a Nerd Font. Choose one of these methods:
oh-my-posh font install- Run the command
oh-my-posh font install - Select your preferred font from the list using arrow keys and press Enter.
The setup script attempts to install CaskaydiaCove NF automatically by default. If that fails:
- Download CaskaydiaCove NF
- Extract and install the font files
- Configure your terminal to use the installed font
Important: keep Microsoft.PowerShell_profile.ps1 in this repo as your shared base profile.
Use layered customization:
- Clone this repo anywhere.
- Run
.\setup.ps1(recommended) from the repo root. - Edit your local override file at
$HOME\Documents\PowerShell\profile.local.ps1.
When run from a clone, setup.ps1 calls setprofile.ps1 to create a symlink for:
- your profile file
Repo Modules and CustomThemes are now optional. If you want those linked from the repo, run:
.\setprofile-repo-assets.ps1setprofile.ps1 is kept as a fast re-link utility (for example, after moving the repo path).
The repo profile loads profile.local.ps1 (your machine/user-specific overrides) at the end.
This lets you sync the repo across machines while keeping personal changes local.
If you encounter any issues:
- Make sure you're running PowerShell as Administrator
- Check that your terminal is using the installed Nerd Font
- Restart your PowerShell session after installation
- Run
Test-ProfileSetupto diagnose common issues
# Smart directory navigation
z [folder name]
# Edit your custom profile
Edit-Profile
# Update your PowerShell profile
Update-Profile
# Display all useful commands
Show-Help