$url = "https://github.com" Invoke-WebRequest -Uri $url -OutFile "WingetInstaller.msixbundle" Add-AppxPackage ".\WingetInstaller.msixbundle" Use code with caution. Quick Start: Common Winget Commands
Once you’ve installed it, here are the most useful commands to get started: winget search chrome Install an app: winget install "Google Chrome" See what needs an update: winget upgrade Update everything at once: winget upgrade --all Uninstall an app: winget uninstall "Google Chrome" Troubleshooting "Command Not Found" download and install winget
If you are setting up a fresh machine and want to stay in the command line, use this script to pull the package directly: powershell $url = "https://github
How to Download and Install Winget: The Ultimate Guide If you’ve ever used Linux or macOS, you know how convenient it is to type a single command to install software. Windows users finally have that same power with (the Windows Package Manager). download and install winget