PowerShell

How to install Windows Terminal on Windows Server 2022

Only Microsoft knows why Windows Terminal is only available on client OS. But there is a way out. We can install Windows Terminal also on Windows Server via PowerShell. The disadvantage is that Terminal is not updated by Windows Updates. This is bearable. So let’s get started.

Copy the following code into ISE or Visual Studio code. The code below works with PowerShell 5.1 only, because the AppxModule is not available in PowerShell 7. (Workaround: Import-Module Appx -UseWindowsPowerShell)
Note that you need to enter the latest version of Windows Terminal in line 2. It is a URL and I am using version 1.16 in this post.

# Provide URL to newest version of Windows Terminal Application
$url = 'https://github.com/microsoft/terminal/releases/download/v1.16.10261.0/Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msixbundle' 
$split = Split-Path $url -Leaf

# Prerequisites
Start-BitsTransfer -Source 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx' `
-Destination $home\Microsoft.VCLibs.x86.14.00.Desktop.appx
Add-AppxPackage $home\Microsoft.VCLibs.x86.14.00.Desktop.appx

# Download
Start-BitsTransfer `
-Source $url `
-Destination (Join-Path -Path $home -ChildPath $split)

# Installation
Add-AppxPackage -Path (Join-Path -Path $home -ChildPath $split)

Wait until the code is completed and you will find Windows Terminal in the Start menu.

That worked out just fine. See you next time.

4 replies »

  1. Now the windows 10 version is in a Zip file. (Windows Terminal v1.17.11461.0)
    Unzip the file and install it
    #install Prerequisites
    Add-AppxPackage .\Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe.appx
    Add-AppxPackage .\Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe.appx
    # install Terminal (Change version)
    Add-AppxPackage .\1ff951bd438b4b28b40cb1599e7c9f72.msixbundle

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.