How to install Terminal on Windows Server

Overview

Used to the Terminal Application in Windows 11, I m lacking the App using Windows Server. HEre is how I have managed to install it on Windows Server 2022.

Installation

  1. Get the msix bunde from GitHub ( https://github.com/microsoft/terminal )

  2. Register the MSIX bundle and Install the Terminal. Open a Powershell terminal with elevated privileges and type the following command : Add-AppxPackage -path <MSIX Bundle file location>

    1
    
    Add-AppxPackage C:\Temp\Microsoft.WindowsTerminal_1.20.11781.0_8wekyb3d8bbwe.msixbundle
    

    In My case I was missing a component (Microsoft.UI.Xaml.2.8):

    1
    2
    
    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.
    Windows cannot install package Microsoft.WindowsTerminal_1.20.11781.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.8" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 8.2305.5001.0, along with this package to install. The frameworks with name "Microsoft.UI.Xaml.2.8" currently installed are: {}
    
  3. Install Microsoft.UI.Xaml.2.8. (That package was missing from me.)

1
2
 Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx -OutFile $env:TEMP\Microsoft.UI.Xaml.2.8.x64.appx
 Add-AppxPackage C:\Temp\Microsoft.UI.Xaml.2.8.x64.appx

Once done, retry step (2.).

Important Note

The applciation will not be updated automatically. It will require a manual installation again if you ever want to get the latest version.