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: Do not edit Microsoft.PowerShell_profile.ps1 directly as it will be overwritten by updates.
To add your own customizations:
- Run
Edit-Profilein PowerShell - Add your custom settings to the newly created
profile.ps1file - Save the file and restart your PowerShell session
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