Skip to content

Export should sort and remove duplicates #1058

@ascarter

Description

@ascarter

Description of the new feature/enhancement

winget export should sort the packages list alphabetically and should also remove duplicates. I think a useful case is to export and then hand-edit to remove packages you might not want for every machine. I also found a couple duplicates. I don't know if that is a bug or not but the identifiers are identical so seems unnecessary to have the duplicates in the list if it is not a bug.

Proposed technical implementation details (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-SortingIssue related to sorting outputCommand-ExportIssue related to WinGet ExportIssue-FeatureThis is a feature request for the Windows Package Manager client.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions