As you might know, I am a huge fan of the Windows Terminal, and since Windows Server 2022 by default does not include the Windows Terminal, I wanted to quickly show you how you can install the Windows Terminal on Windows Server 2022.
How to install Windows Terminal on Windows Server 2022
Luckily, we can simply download the MSIX bundle from the Windows Terminal GitHub release page. You can also run the following PowerShell command to download the file (Make sure you change the Uri to the latest version).
# Install Prerequisites
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -outfile Microsoft.VCLibs.x86.14.00.Desktop.appx
Add-AppxPackage Microsoft.VCLibs.x86.14.00.Desktop.appx
# Download Terminal (Change version)
Invoke-WebRequest -Uri https://github.com/microsoft/terminal/releases/download/v1.7.1091.0/Microsoft.WindowsTerminal_1.7.1091.0_8wekyb3d8bbwe.msixbundle -outfile Microsoft.WindowsTerminal_1.7.1091.0_8wekyb3d8bbwe.msixbundle
Now you can run the following PowerShell command to add the msixbudle and install the Windows Terminal on Windows Server 2022.
Add-AppxPackage Microsoft.WindowsTerminal_<versionNumber>.msixbundle
In my example this would be:
Add-AppxPackage -Path .\Microsoft.WindowsTerminal_1.7.1091.0_8wekyb3d8bbwe.msixbundle
Keep in mind, when you install the Windows Terminal manual like this, it will not automatically update itself.
Conclusion
I hope this blog post is helpful. If you have any questions, feel free to leave a comment below. Also if you want to make out more of your Windows Terminal, check out my blogs:
- My Customized Windows Terminal Settings.json
- My Windows Terminal Color Schemes
- Install the new Windows Terminal for Windows 10
- How to open Windows Terminal from Command Prompt or Run
- How to Change the Windows Terminal Background Image
- How to SSH into an Azure VM from Windows Terminal Menu
- Add a PowerShell Remote Session in Windows Terminal
If you want to provide feedback for Windows and Windows Server, the team wants to hear from you!
The most important part of a frequent release cycle is to hear what’s working and what needs to be improved, so your feedback is extremely valued. For Windows Server, use your registered Windows 10 Insider device and use the Feedback Hub application. In the app, choose the Windows Server category and then the appropriate subcategory for your feedback. In the title of the Feedback, please indicate the build number you are providing feedback on as shown below:
[Server #####] Title of my feedback
Have fun!
Tags: install, Microsoft, MSIX, Terminal, Windows Server, Windows Server 2022, Windows Terminal Last modified: February 8, 2023
you can use winget to install this on the server
i’m sorry but you can’t install winget on windows server 2019 LTSC or SAC and 2022 as far as i know.
so the only way is the appxbundle from github.
I downloaded the evaluation version, and bought a product key from keyingo.com, they help me to convert the evaluation version to standard version , then I use the key to activate , the server 2022 is running now
This does not work on Windows Server 2022 that has no Internet access. After install, clicking the Windows Terminal app in the Start menu does nothing, it doesn’t even show an error message.
Do you know if there’s a way (maybe via the json file) to change the default terminal app for Windows Server 2022 from the classic cmd prompt to Windows Terminal?
For uninstall do:
1.) Get-AppxPackage —> List all packages installed.
2.) Search in that list for the package to uninstall.
3.) Copy the “PackageFullName” value (e.g. “Microsoft.WindowsTerminalPreview_1.13.10395.0_x64__8wekyb3d8bbwe”)
4.) Call Remove-AppxPackage, (e.g. Remove-AppxPackage -Package “Microsoft.WindowsTerminalPreview_1.13.10395.0_x64__8wekyb3d8bbwe”)
Looking at the GitHub page there are downloads for the latest versions with win_10 and win_11 in the name.
Which one to choose for Windows Server 2022?
The win_10 is the package you want to use for Server 2022.
No, Windows 10 package does not install on Windows Server 2022.
Neither does the Win11 one
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’.”
Works flawlessly! Thanks
great! thank you for the feedback :)
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.