Comments on: Install Windows Terminal on Windows Server 2022 https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/ Cloud and Datacenter Blog focusing on Microsoft Azure Fri, 10 Nov 2023 18:01:21 +0000 hourly 1 https://wordpress.org/?v=6.4.1 By: Joshua McKinnon https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/#comment-902439 Fri, 10 Nov 2023 18:01:21 +0000 https://www.thomasmaurer.ch/?p=21498#comment-902439 In reply to Robert Alexander.

Thanks for making this guide. And also thanks to Robert Alexander for adding the extra detail about Microsoft.UI.Xaml, as I got stuck when trying to install the latest version and this solved it for me!

]]>
By: Robert Alexander https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/#comment-902308 Thu, 02 Nov 2023 19:13:36 +0000 https://www.thomasmaurer.ch/?p=21498#comment-902308 For regular people that aren’t developers… as this will take a fair amount of head scratching for you as written, but you need 3 items:

****NOTE: Powershell commands are marked with “*” at the beginning of the line, the * is not actually part of the command!

#1: “C++ Runtime framework packages for Desktop Bridge”, reference: https://learn.microsoft.com/en-us/troubleshoot/developer/visualstudio/cpp/libraries/c-runtime-packages-desktop-bridge
You may want to check that link for updates and substitute the URL for the latest one. This version is current as of 11/2/2023.
* Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -outfile Microsoft.VCLibs.x64.14.00.Desktop.appx # downloads the file
* Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx # installs it

#2: Microsoft.UI.Xaml
Go to https://www.nuget.org/packages/Microsoft.UI.Xaml/
Look for a link that says “Download Package (##.## MB)”, download it.
Rename the file to .zip
Extract the .appx file from tools\AppX\x64\Release (in this case it’s “Microsoft.UI.Xaml.2.8.appx”).
Step to install the version downloaded above after extraction, modify for updates:
* Add-AppxPackage Microsoft.UI.Xaml.2.8.appx

#3: The terminal package from https://github.com/microsoft/terminal/releases?WT.mc_id=modinfra-26926-thmaure
Find the version you want there, I went with “latest”. Go into that (clicking the green box that says “latest” next to the version takes you there). Scroll down to the downloads section and right-click copy the link to the msixbundle. Doing this will eliminate reliance on hard-links to specific versions.
* Invoke-WebRequest -Uri https://github.com/microsoft/terminal/releases/download/v1.18.2822.0/Microsoft.WindowsTerminal_1.18.2822.0_8wekyb3d8bbwe.msixbundle -outfile Microsoft.WindowsTerminal_1.18.2822.0_8wekyb3d8bbwe.msixbundle
# Note: -outfile parameter is the downloaded file’s name, just remove the part from the URL up to last “/”, so only the filename is left.
* Add-AppxPackage Microsoft.WindowsTerminal_1.18.2822.0_8wekyb3d8bbwe.msixbundle

This should work like a champ with little-to-no head scratching.

]]>
By: Mantvydas https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/#comment-895017 Tue, 12 Sep 2023 14:10:14 +0000 https://www.thomasmaurer.ch/?p=21498#comment-895017 Beside those two Add-AppxPackage commands I needed also
Add-AppxPackage Microsoft.UI.Xaml.2.7.x64.appx

My machine only had Microsoft.UI.Xaml.2.4 installed.

]]>
By: Toni https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/#comment-890922 Tue, 14 Mar 2023 07:08:20 +0000 https://www.thomasmaurer.ch/?p=21498#comment-890922 Worked fine for me. Those having problems, I used powershell.exe (run “import-module Appx” first), the new pwsh.exe gave me the error mentioned in the comments. And you need to install windows 10 version of terminal.

]]>
By: Thomas Maurer https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/#comment-890695 Fri, 24 Feb 2023 09:00:44 +0000 https://www.thomasmaurer.ch/?p=21498#comment-890695 In reply to Muhammad.

great! thank you for the feedback :)

]]>
By: Muhammad https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/#comment-890690 Fri, 24 Feb 2023 01:40:28 +0000 https://www.thomasmaurer.ch/?p=21498#comment-890690 Works flawlessly! Thanks

]]>
By: Desy https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/#comment-888357 Sun, 08 Jan 2023 17:24:15 +0000 https://www.thomasmaurer.ch/?p=21498#comment-888357 In reply to DM.

Neither does the Win11 one

]]>
By: Justin https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/#comment-884755 Mon, 14 Nov 2022 21:52:59 +0000 https://www.thomasmaurer.ch/?p=21498#comment-884755 Does this work on Server 2019? I just keep getting the following error after running
“Add-AppxPackage -Path .\Microsoft.WindowsTerminal_1.7.1091.0_8wekyb3d8bbwe.msixbundle”.

“Add-AppxPackage: The ‘Add-AppxPackage’ command was found in the module ‘Appx’, but the module could not be loaded due to the following error: [Operation is not supported on this platform. (0x80131539)]
For more information, run ‘Import-Module Appx’.”

]]>
By: DM https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/#comment-884648 Sat, 05 Nov 2022 11:21:06 +0000 https://www.thomasmaurer.ch/?p=21498#comment-884648 In reply to David Knight.

No, Windows 10 package does not install on Windows Server 2022.

]]>
By: David Knight https://www.thomasmaurer.ch/2021/05/install-windows-terminal-on-windows-server-2022/#comment-884330 Mon, 17 Oct 2022 17:31:10 +0000 https://www.thomasmaurer.ch/?p=21498#comment-884330 In reply to Bjoern.

The win_10 is the package you want to use for Server 2022.

]]>