In this quick post I’ll show you how to add PowerShell v7 preview 1 to the new Windows Terminal.
The new Windows Terminal was announced at Build this year and has been available (building from source code yourself) through the Microsoft/Terminal GitHub repo. A very early preview of the Windows Terminal is now available through the Microsoft Store (link). I haven’t verified but I believe you’ll need a few prerequisites in order to install. Out of the box the current preview of Windows Terminal offers:
- PowerShell Core (v6)
- Windows PowerShell (v5)
- CMD (command prompt)
- WSL (Windows Sub-system for Linux, legacy console)
After installing the Windows Terminal from the Microsoft Store, open the Settings from the dropdown menu (or click “Ctrl + ,”).
Find the “profiles” element in the settings file and add the following JSON snippet to the array. Verify the “commandline” and “icon” locations match…
View original post 200 more words