How can we find the scope of installed packages? #3239
-
Assuming a package have been installed with How can we find what scope a packages has been installed in? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Winget uses the registry to determine which applications are installed and the scope. If the registry keys fall under There isn't currently a way to show the installed scope except to query the registry manually. |
Beta Was this translation helpful? Give feedback.
-
While there isn't a way to query the scope of a particular installed app, you can list all apps of a particular scope installed on your machine and search the app you're looking for in the output of the following commands List all user-scoped apps installed on your machine
List all machine-scoped apps (Requires you to run the shell as admin)
If you only want to see apps that are available via the winget source, you can filter them by appending |
Beta Was this translation helpful? Give feedback.
-
Although I marked the above as an accepted answer, it would have made much more sense to be able to use: |
Beta Was this translation helpful? Give feedback.
While there isn't a way to query the scope of a particular installed app, you can list all apps of a particular scope installed on your machine and search the app you're looking for in the output of the following commands
List all user-scoped apps installed on your machine
List all machine-scoped apps (Requires you to run the shell as admin)
If you only want to see apps that are available via the winget source, you can filter them by appending
--source winget