Development

How to Install Windows Terminal Using PowerShell Add-AppxPackage Command

Captain Salem 1 min read

How to Install Windows Terminal Using PowerShell Add-AppxPackage Command

The Windows Terminal is a modern, fast, efficient, powerful, and productive terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and WSL. Its main features include multiple tabs, panes, Unicode and UTF-8 character support, a GPU accelerated text rendering engine, and custom themes, styles, and configurations.

The default method of instaling the Windows terminal is using the Microsoft Store or external package managers such as scoop or chocolatey However, iIn some instances, you may come across an instnace where you do not have access to the Windows store or external package managers.

In this tutoria, you will learn how you can use the PowerShell Add-AppxPackage command to install the Windows Terminal using the msixbundle.

Requirements

Installing the Windows Terminal requires Windows 10 2004 (build 19041) and later.

Step 1 - Download the Windows Terminal msixbundle.

Start by navigating to the Windows Termial release page on Github using the link provided below:

https://github.com/microsoft/terminal/releases

Head over to the Assets section and download the latest release of the Windows Terminal build.

Step 2 - Import the Apps PowerShell Module

If you are using PowerShell version 7.0 and above, start by importing the Appx module which allows you to run commands for managing AppX and MSIX Packages:

Open the PowerShell as Administrator and run the command:

Import-Module Appx -UseWindowsPowerShell

Next, navigate to the directory where the downloaded Windows Terminal msix bundle is located:

cd .\Downloads

FInally, run the command:

Add-AppxPackage Microsoft.WindowsTerminal_<versionNumber>.msixbundle

Replace the versionNumber with the number of the file you downloaded earlier.

Example command:

Add-AppxPackage Microsoft.WindowsTerminal_Win10_1.15.2874.0_8wekyb3d8bbwe.msixbundle

Success! And there you have it!

End

In this short post, you learned how to manually install the Window Terminal using the provided msixbundle and Add-AppxPackage command in PowerShell.

Check out other tutorials on our site for expansive knowledge in a wide array of fields.

Share
Comments
More from Cloudenv

Cloudenv

Developer Tips, Tricks and Tutorials.

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to Cloudenv.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.