- Check the last version here: https://github.com/microsoft/terminal/releases/ Copy the link and use in Invoke-WebRequest, for example:
Invoke-WebRequest -Uri https://github.com/microsoft/terminal/releases/download/v1.12.2931.0/Microsoft.WindowsTerminalPreview_1.12.2931.0_8wekyb3d8bbwe.msixbundle -outfile Microsoft.WindowsTerminalPreview_1.12.2931.0_8wekyb3d8bbwe.msixbundle
- Install package
Add-AppxPackage -Path .\Microsoft.WindowsTerminalPreview_1.12.2931.0_8wekyb3d8bbwe.msixbundle