Customizing Windows Terminal

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

πŸ“– Kickstart.nvim GitHub


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

✨ Created collaboratively with ChatGPT based on N. K. Franklin-Gent’s prompt.