Customizing Windows Terminal
Categories:
A collaborative guide with ChatGPT
Prerequisites
Ensure you have the latest PowerShell and script execution rights:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Step 1: Install Package Managers
Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; `
[System.Net.ServicePointManager]::SecurityProtocol = `
[System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
π Official Chocolatey Guide
Scoop
irm get.scoop.sh | iex
scoop bucket add extras
π Scoop Website
Step 2: Upgrade & Install Power Tools
Oh My Posh
winget upgrade JanDeDobbeleer.OhMyPosh -s winget
π Oh My Posh GitHub
Windows Updates via PowerShell
Install-Module PSWindowsUpdate
Add-WUServiceManager -MicrosoftUpdate
Get-WindowsUpdate
Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot | Out-File "C:\($env.computername-$(Get-Date -f yyyy-MM-dd))-MSUpdates.log" -Force
Step 3: Configure Neovim
choco install -y neovim git ripgrep wget fd unzip gzip mingw make
git clone https://github.com/nvim-lua/kickstart.nvim.git $env:USERPROFILE\AppData\Local\nvim\
pip3 install --user --upgrade pynvim
Step 4: Add Shell Enhancers
fzf (Fuzzy Finder)
choco install fzf
Install-Module -Name PSFzf
π fzf GitHub
PowerShell Editor Services
Install-Module PSReadLine -Force
Import-Module PSReadLine
Install-Module InvokeBuild -Scope CurrentUser
Install-Module platyPS -Scope CurrentUser
Install-Module -Name PowerShellEditorServices -Repository PSGallery
Excel Support
Install-Module -Name ImportExcel -Scope CurrentUser -Force
pip install openpyxl
π ImportExcel GitHub
Step 5: Beautify Terminal
scoop bucket add nerd-fonts
scoop install Hack-NF
scoop install eza bat fd fastfetch
Bonus: Titus PowerShell Setup
irm "https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1" | iex
π Chris Titus GitHub
Optional: jq & ripgrep-all
choco install jq
choco install ripgrep-all
π ripgrep-all GitHub
Sources & Credits
- Chocolatey
- Scoop
- Oh My Posh
- Chris Titus Tech
- ripgrep-all
- fzf
- Kickstart.nvim
- ImportExcel
- Brett Terpstra β inspiration from Ripple (GitHub gist) and his homepage article
- Michael Bazzel β inspiration drawn from his OSINT books on extraction techniques
β¨ Created collaboratively with ChatGPT based on N. K. Franklin-Gentβs prompt.