Skip to content

Instantly share code, notes, and snippets.

@erwinkersten
Last active July 4, 2024 08:01
Show Gist options
  • Save erwinkersten/137f634881e44969e9c0deaa862dfec2 to your computer and use it in GitHub Desktop.
Save erwinkersten/137f634881e44969e9c0deaa862dfec2 to your computer and use it in GitHub Desktop.
Install Windows Terminal on Windows Server 2022

Install Windows Terminal on Windows Server 2022

  1. Download and install c-runtime-packages-desktop-bridge
  2. Download and install microsoft-ui-xaml
  3. Download and install Microsoft.WindowsTerminal

Execute the following in Windows PowerShell (Powershell 7 doesn't support the Appx module)

# Update versions, see https://learn.microsoft.com/en-us/troubleshoot/developer/visualstudio/cpp/libraries/c-runtime-packages-desktop-bridge#how-to-install-and-update-desktop-framework-packages
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -outfile Microsoft.VCLibs.Desktop.appx
Add-AppxPackage -Path .\Microsoft.VCLibs.Desktop.appx

# Update versions, see https://github.com/microsoft/microsoft-ui-xaml/releases (grab Microsoft.UI.Xaml)
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -outfile Microsoft.UI.Xaml.appx
Add-AppxPackage -Path .\Microsoft.UI.Xaml.appx

# Check version on https://github.com/microsoft/terminal/releases (update version and filename of msixbundle)
Invoke-WebRequest -Uri https://github.com/microsoft/terminal/releases/download/v1.20.11781.0/Microsoft.WindowsTerminal_1.20.11781.0_8wekyb3d8bbwe.msixbundle -outfile Microsoft.WindowsTerminal.msixbundle
Add-AppxPackage -Path .\Microsoft.WindowsTerminal.msixbundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment