Member-only story
Configure Windows Terminal for WSL
Setup Windows Terminal to Work with WSL
Introduction
Windows Terminal is the modern and default terminal created by Microsoft. It is the replacement for the old one and fully compatible with WSL and PowerShell.
Microsoft has open sourced the terminal, it is fully configurable via a JSON file and works very well with Windows features like PowerShell, Command Prompt or WSL.
If you are still using the old Terminal, do not hetistate in switching to the new one.
Install
Install Windows Terminal using winget if not installed (it should already be installed in newer Windows versions)
Winget:
winget install -e --id Microsoft.WindowsTerminalConfigure Fonts
Install Nerd Fonts for maximum compatibility with Wezterm configuration:
The easiest way is to install it using scoop:
scoop bucket add nerd-fonts
scoop install nerd-fonts/JetBrainsMono-NFConfigure Windows Terminal
Drop the following config into C:\Users\<user>\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json: