Just updated PowerShell via winget, Microsoft’s command line package manager. And Firefox. And Volta. And HeidiSQL. And Alacritty. And Go. And some other stuff.
Instead, here’s the TIL:
- shows what’s out of date
winget upgrade --id=<package.id>
- upgrades a package
winget upgrade --all
- upgrades everything.
No “Run As Administrator” needed, though you need to click the UAC dialog. Another caveat: it’s coming from the application’s own download servers, not some Azure-backed central repository. Sometimes the fetching may take a minute.