Skip to content
Discussion options

You must be logged in to vote

.\winget-install.ps1 -Force
Install-Script -Name winget-install -Force

It seems like you're trying to install winget through a custom script, which may not be a supported method. Have you tried downloading the latest msixbundle from https://aka.ms/getwinget and running the msixbundle file? Alternatively, you can use Repair-WinGetPackageManager powershell cmdlet to get the latest WinGet via the sandbox script. See Install WinGet on Windows Sandbox for the script contents.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by denelon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5409 on April 27, 2025 21:31.