# Customize Windows 11 Dev Machine ## Clone PowerShell folder to local Destination ~/Documents/PowerShell ## Upgrade PowerShell 1. Ensure PowerShell 5+ is installed ```powershell $PSVersionTable.PSVersion ``` 2. Install PowerShell Core ```powershell winget install --id Microsoft.Powershell --source winget ``` ## Add PoshGit 1. Ensure ExecutionPolicy is `Remote Signed` ```powershell Get-ExecutionPolicy #Set-ExecutionPolicy RemoteSigned -scope CurrentUser ``` 2. Ensure Git is installed ```powershell git --version ``` 3. Install via PowerShellGet ```powershell PowerShellGet\Install-Module posh-git -Scope CurrentUser -Force Add-PoshGitToProfile ``` ## Restore Git Shortcuts ```powershell ~\Documents\PowerShell\restoreGitShortcuts.ps1 ``` ## Commonly installed tools ```powershell winget install --id Microsoft.AzureDataStudio winget install --id WinMerge.WinMerge ``` ## Windows Environment Variable for NPM Global installs ``` $env:Path += ';~\AppData\Roaming\npm' ``` #local #localdev #windows #devmachine