Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit a9d576d

Browse files
authored
Create Install-WindowsTerminal.ps1
1 parent 26ce496 commit a9d576d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Install-WindowsTerminal.ps1

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
$Package = Get-AppxPackage -Name Microsoft.WindowsTerminal
2+
if ($null -ne $Package) {
3+
Write-Host "Microsoft.WindowsTerminal is already installed."
4+
Pause
5+
exit
6+
}
7+
8+
Push-Location $Env:TEMP
9+
10+
Write-Host "Downloading Dependencies..."
11+
Invoke-WebRequest -Uri https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile Microsoft.VCLibs.x86.14.00.Desktop.appx
12+
Invoke-WebRequest -Uri https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.5/Microsoft.UI.Xaml.2.8.x64.appx -OutFile Microsoft.UI.Xaml.2.8.x64.appx
13+
Invoke-WebRequest -Uri https://github.com/microsoft/terminal/releases/download/v1.19.11213.0/Microsoft.WindowsTerminal_1.19.11213.0_8wekyb3d8bbwe.msixbundle -OutFile Microsoft.WindowsTerminal_1.19.11213.0_8wekyb3d8bbwe.msixbundle
14+
15+
Write-Host "Installing Dependencies..."
16+
Add-AppxPackage Microsoft.VCLibs.x86.14.00.Desktop.appx
17+
Add-AppxPackage .\Microsoft.UI.Xaml.2.8.x64.appx
18+
Add-AppxPackage .\Microsoft.WindowsTerminal_1.19.11213.0_8wekyb3d8bbwe.msixbundle
19+
20+
Write-Host "Installed Microsoft.WindowsTerminal."
21+
Pop-Location
22+
Pause

0 commit comments

Comments
 (0)