Upgrade the single app using powershell
To upgrade a single app using PowerShell, you can use the following winget command.
// syntax
winget upgrade AppName
// example to update notepad app
winget upgrade notepad++
List all installed apps in Powershell:
If your not sure name of the app name to upgrade then use following command to get list of all installed apps in your computer.
winget list
To update all installed apps in powershell
To upgrade all installed apps in your computer using PowerShell, you can use the following winget command.
winget upgrade --all
Source:
https://learn.microsoft.com/en-us/windows/package-manager/winget/