Prerequisites
Before setting up the PowerShell configuration, you need a fresh Windows 11 installation with updated system and drivers.Update Windows 11
Open Settings → Windows Update and install all available updates.After updates complete, restart your PC.
Update drivers
Download and install Driver Booster to update system drivers.
Repeat Windows Update after driver updates to catch any additional patches.
Install core tools
Package managers
Terminal and fonts
Install WezTerm
WezTerm is a GPU-accelerated terminal with excellent font rendering:Create the config directory:
Install Nerd Font
Nerd Fonts provide icons for the terminal:
After installation, configure WezTerm to use “JetBrainsMono Nerd Font” in your
wezterm.lua config file.CLI tools
Install all CLI tools
Install modern replacements for Unix tools in one command:Install HTTPie separately via Winget:
PowerShell modules
Set up PowerShell configuration
Create profile entry point
Create the main profile file at
$HOME\.config\powershell\Microsoft.PowerShell_profile.ps1:Clone or download configuration files
If you’re using this as a template, you’ll need to create the configuration files in
conf.d/ and functions/.The minimum files needed are:conf.d/00-init.ps1- Core settings and PSReadLineconf.d/10-environment.ps1- Environment variables and editor chainconf.d/20-aliases.ps1- Git and tool aliasesconf.d/30-tools.ps1- Tool integrations (bat, eza, zoxide, fzf)conf.d/60-prompt.ps1- Oh My Posh initialization
Verify the setup
Quick command reference
Here are the most useful commands to get started:| Command | Description |
|---|---|
gs | Git status |
ga <file> | Git add |
gcm "msg" | Git commit with message |
ll | Long list with icons and git status |
lt | Tree view (2 levels) |
cat <file> | View file with syntax highlighting |
Ctrl+R | Search command history |
Ctrl+T | Fuzzy find files |
Alt+C | Fuzzy find directories |
mkcd <name> | Create directory and cd into it |
reload | Reload PowerShell configuration |
~ | Go to home directory |
.. | Go up one directory |
- | Go to previous directory |
Troubleshooting
Scripts disabled error
Scripts disabled error
If you see “running scripts is disabled on this system”:
Icons not displaying
Icons not displaying
- Install a Nerd Font:
scoop install nerd-fonts/JetBrainsMono-NF - Configure WezTerm to use the Nerd Font in
~/.config/wezterm/wezterm.lua:
Oh My Posh not found
Oh My Posh not found
Refresh your PATH:Then restart your terminal.
FZF keybindings not working
FZF keybindings not working
Ensure PSFzf is installed and imported:Then restart PowerShell.
Next steps
- Customize the Vesper color theme in
conf.d/30-tools.ps1 - Add your own aliases in
conf.d/20-aliases.ps1 - Create custom functions in
functions/ - Add machine-specific settings to
conf.d/99-local.ps1(gitignored) - Explore the PowerShell configuration and custom functions for advanced features
