Find Windows App install location with winget

Regardless of how an App is installed, whether through WinGet, the Microsoft Store, or a direct download, WinGet can be used to find the program install location on disk. For example, to find the install location of the Microsoft Edge browser:

winget list msedge --details

(one can also use the names Microsoft.Edge or Edge)

The results include “Installed Location” which for this example may be examined like:

ls ${Env:ProgramFiles(x86)}/microsoft/edge/application

with results including the Edge executable msedge.exe.