winget export

phrase

say it: “WIN-get EK-sport” /ˈwɪnɡɛt ˈɛkspɔrt/

A winget command that writes a PC's list of apps into a JSON file, to install on another PC later.

What does winget export do?

winget export makes a shopping list of a PC's apps. It writes every app that winget knows on this PC, by its package ID such as Mozilla.Firefox, into one JSON file. Read the file, take out what you don't want, and carry it to a new PC, where winget import installs the list.

winget export --output "$HOME\terminal-practice\new-pc\apps.json"

In a sentence

  • “The file winget export wrote lists each app by its package ID.”
  • “Before giving away the old laptop, Sam ran winget export to save its app list.”

Level: Journeyman · More Operating System terms at this level

Updated