Winget-cli: Export/Import apps list

Created on 19 May 2020  路  2Comments  路  Source: microsoft/winget-cli

Description of the new feature/enhancement

Allow the user to export a list of all currently installed apps from WinGet.

This list can then be imported (with the specific versions too) on WinGet and its apps will be batch installed. Useful for a "dotfiles-based" computer setup, where I just have a winget-apps.json and can set my machine up with a single command.

Poposed commands:

  • winget export <app-list>

    • Here the user can specify an app list for exporting, or use --all or * for exporting the entire list.

  • winget import <file-path>
Issue-Feature Size-L

Most helpful comment

For an example in other package managers see Homebrew's brew bundle.

Nice thing about it is it's easy to add support for other tools like Casks, mas, and whalebrew, all of which are (or started as) third-party extensions to brew.

All 2 comments

For an example in other package managers see Homebrew's brew bundle.

Nice thing about it is it's easy to add support for other tools like Casks, mas, and whalebrew, all of which are (or started as) third-party extensions to brew.

This looks like a duplicate of #155 and #156

Was this page helpful?
0 / 5 - 0 ratings