Install Windows Terminal on Windows Server 2022 (2024)

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 PrerequisitesInvoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -outfile Microsoft.VCLibs.x86.14.00.Desktop.appxAdd-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.

Install Windows Terminal on Windows Server 2022 (1)

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. ForWindows Server, use your registered Windows 10 Insider device and use theFeedback Hubapplication. In the app, choose theWindows Servercategory and then the appropriate subcategory for your feedback. In the title of the Feedback, please indicate thebuild numberyou 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

About the Author / Thomas Maurer

Install Windows Terminal on Windows Server 2022 (2)

Thomas works as a Principal Program Manager & Chief Evangelist Azure Hybrid at Microsoft (Cloud + AI). He engages with the community and customers around the world to share his knowledge and collect feedback to improve the Azure hybrid cloud and edge platform. Prior to joining the Azure engineering team (Cloud + AI), Thomas was a Lead Architect and Microsoft MVP, to help architect, implement and promote Microsoft cloud technology.If you want to know more about Thomas, check out his blog: www.thomasmaurer.ch and Twitter: www.twitter.com/thomasmaurer

Previous StoryPassed SC-900 Microsoft Security Compliance and Identity Fundamentals

Next StoryCTRL+ALT+AZURE Podcast Exploring Azure Arc with Thomas Maurer

Related Posts

Microsoft Ignite 2024 – Azure Industry IoT Pre-day workshop

October 22, 2024Microsoft, Microsoft Azure

Microsoft Ignite 2024 is next month, promising an unparalleled convergence of technology, innovation, and industry leadership. Amidst the...

Read More → Read More: Microsoft Ignite 2024 – Azure Industry IoT Pre-day workshop

Azure Hybrid Cloud Pre-Day at Microsoft Ignite 2024

October 17, 2024Microsoft Azure, Virtualization, Windows Server• One Comment

Microsoft Ignite 2024 is rapidly approaching, and this year’s event promises to be an enlightening experience for IT professionals and...

Read More → Read More: Azure Hybrid Cloud Pre-Day at Microsoft Ignite 2024

Make Your Private Copilots Production-ready

October 11, 2024Microsoft Azure

In this episode of the Azure Essentials Show, Thomas and Freddy discuss the common challenges and best practices for deploying generative...

Read More → Read More: Make Your Private Copilots Production-ready

Remote Desktop Connection (RDP) to Azure Arc-enabled Windows Server machines anywhere

September 11, 2024Microsoft Azure, PowerShell, Windows Server• One Comment

In this blog post we are going to have a look on how you can connect securely to your Azure Arc-enabled servers running Windows Server...

Read More → Read More: Remote Desktop Connection (RDP) to Azure Arc-enabled Windows Server machines anywhere

18 Replies to “Install Windows Terminal on Windows Server 2022”

  1. Install Windows Terminal on Windows Server 2022 (9) T says:

    May 17, 2021 at 4:11 am

    you can use winget to install this on the server

    Reply

  2. Install Windows Terminal on Windows Server 2022 (10) Jules R. says:

    June 24, 2021 at 4:17 pm

    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.

    Reply

  3. Install Windows Terminal on Windows Server 2022 (11) Tinen says:

    August 26, 2021 at 12:00 am

    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

    Reply

  4. Install Windows Terminal on Windows Server 2022 (12) Jane says:

    September 5, 2021 at 2:23 pm

    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.

    Reply

  5. Install Windows Terminal on Windows Server 2022 (13) Joel Cottrell says:

    October 21, 2021 at 8:51 pm

    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?

    Reply

  6. Install Windows Terminal on Windows Server 2022 (14) Uwe says:

    March 22, 2022 at 7:30 pm

    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”)

    Reply

  7. Install Windows Terminal on Windows Server 2022 (15) Bjoern says:

    May 23, 2022 at 10:17 pm

    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?

    Reply

    • Install Windows Terminal on Windows Server 2022 (16) David Knight says:

      October 17, 2022 at 7:31 pm

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

      Reply

      • Install Windows Terminal on Windows Server 2022 (17) DM says:

        November 5, 2022 at 12:21 pm

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

        Reply

        • Install Windows Terminal on Windows Server 2022 (18) Desy says:

          January 8, 2023 at 6:24 pm

          Neither does the Win11 one

          Reply

  8. Install Windows Terminal on Windows Server 2022 (19) Justin says:

    November 14, 2022 at 10:52 pm

    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’.”

    Reply

  9. Install Windows Terminal on Windows Server 2022 (20) Muhammad says:

    February 24, 2023 at 2:40 am

    Works flawlessly! Thanks

    Reply

    • Install Windows Terminal on Windows Server 2022 (21) Thomas Maurer says:

      February 24, 2023 at 10:00 am

      great! thank you for the feedback :)

      Reply

  10. Install Windows Terminal on Windows Server 2022 (22) Toni says:

    March 14, 2023 at 8:08 am

    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.

    Reply

  11. Install Windows Terminal on Windows Server 2022 (23) Mantvydas says:

    September 12, 2023 at 4:10 pm

    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.

    Reply

  12. Install Windows Terminal on Windows Server 2022 (24) Robert Alexander says:

    November 2, 2023 at 8:13 pm

    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.

    Reply

    • Install Windows Terminal on Windows Server 2022 (25) Joshua McKinnon says:

      November 10, 2023 at 7:01 pm

      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!

      Reply

    • Install Windows Terminal on Windows Server 2022 (26) Sam Cannon says:

      January 7, 2024 at 4:17 pm

      Thank you, your guidance is very clear and has been helpful to me. Perhaps you know if there is an official way to install Windows Terminal on Windows Server 2019/2022, or are there any limitations? Why is it so complicated with framework dependencies and extracting missing components?

      Reply

Leave a Reply

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

Install Windows Terminal on Windows Server 2022 (2024)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Greg Kuvalis

Last Updated:

Views: 5800

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Greg Kuvalis

Birthday: 1996-12-20

Address: 53157 Trantow Inlet, Townemouth, FL 92564-0267

Phone: +68218650356656

Job: IT Representative

Hobby: Knitting, Amateur radio, Skiing, Running, Mountain biking, Slacklining, Electronics

Introduction: My name is Greg Kuvalis, I am a witty, spotless, beautiful, charming, delightful, thankful, beautiful person who loves writing and wants to share my knowledge and understanding with you.