My set of commands to install Winget on Windows 10
Invoke-WebRequest -Uri https://github.com/microsoft/winget-cli/releases/download/v1.8.1911/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -OutFile ~\Downloads\WinGet.msixbundle
This will download the msixbundle file to your ~\Downloads folder
The latest version at the moment is v1.8.1911. The current, latest and other versions can be found on GitHub
Ensure to download the latest bundle from here 1
Add-AppxPackage ~\Downloads\WinGet.msixbundle
winget --version
Additionally, try the following steps if you’re unable to download/install any available software from Microsoft Store
Go to Microsoft Store and copy the link of the app you want to install from Microsoft Store
Copy the link of the app and paste in this website “Online link generator for Microsoft Store” and search in RP mode
In the result, find the .appx file of the app you need and right click and do save as, your browser might detect it as a harmful app, but you can ignore and download it
Ensure you also download all the dependencies and save them as well
Once you’ve downloaded all the dependencies and the application, start by installing dependencies first, and then the main application
To install, go to the Downloads location, right click on each file and click Install
Optional: you can also install via powershell
Add-AppxPackage -Path "<PATH of the file>".appx
superuser - It is possible to install microsoft app installer using the command line?
GitHub - Windows Package Manager 1.9.2411-preview Pre-release
superuser - Is there a way to install Microsoft Store-exclusive apps without Store?
GitHub - mjishnu / alt-app-installer