Created
April 19, 2024 15:29
-
-
Save MartinMiles/31a9b807fde9281936163703bc4ad327 to your computer and use it in GitHub Desktop.
Install Windows Terminal by PowerShell on Windows Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Provide URL to newest version of Windows Terminal Application | |
$url = 'https://github.com/microsoft/terminal/releases/download/v1.16.10261.0/Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msixbundle' | |
$split = Split-Path $url -Leaf | |
# Prerequisites | |
Start-BitsTransfer -Source 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx' ` | |
-Destination $home\Microsoft.VCLibs.x86.14.00.Desktop.appx | |
Add-AppxPackage $home\Microsoft.VCLibs.x86.14.00.Desktop.appx | |
# Download | |
Start-BitsTransfer ` | |
-Source $url ` | |
-Destination (Join-Path -Path $home -ChildPath $split) | |
# Installation | |
Add-AppxPackage -Path (Join-Path -Path $home -ChildPath $split) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment