-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Export/Import apps list #220
Copy link
Copy link
Labels
ExperimentalThis experimental feature can be enabled in settingsThis experimental feature can be enabled in settingsIssue-FeatureThis is a feature request for the Windows Package Manager client.This is a feature request for the Windows Package Manager client.
Milestone
Metadata
Metadata
Assignees
Labels
ExperimentalThis experimental feature can be enabled in settingsThis experimental feature can be enabled in settingsIssue-FeatureThis is a feature request for the Windows Package Manager client.This is a feature request for the Windows Package Manager client.
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>--allor*for exporting the entire list.winget import <file-path>Edited by denelon:
Stable Feature
winget import packages.json- installs packages referenced in packages.json (requires sources to be configured).winget import -?- displays help for the import command.Experimental Feature
winget export packages.json- generates export file for packages in Add / Remove Programs matching installed sources.winget export -?- displays help for the export command.Note: export depends on list also being enabled.
winget features- displays all experimental features and their statuswinget settings- launches settings.json to configure settings like experimental featuresEdited: experimental status