Skip to content

Exclude packages from Windows Package Manager #2339

Description

@denelon

I would like to be able to exclude packages from the Windows Package Manager.

winget exclude <package> would mark a package as excluded.

It should not be upgraded with winget upgrade --all


I'm also seeing this issue with several packages. One solution that I have thought of is for there to be an option to hide packages from winget. i.e. if there is a package that I don't want winget to manage and I will manage manually, add it to some exclusion list.

Originally posted by @dgee2 in #2313 (comment)

edit:

We've also been discussing the exclusion of these packages from winget export packages.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureThis is a feature request for the Windows Package Manager client.

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions