winget import

phrase

say it: “WIN-get IM-port” /ˈwɪnɡɛt ˈɪmpɔrt/

A winget command that installs every app listed in a file made by winget export, one after another.

What does winget import do?

winget import is the other half of winget export: it reads the file of apps and installs each one, one after another, on the PC you run it on. The agreement switches answer the license questions up front, and --ignore-unavailable skips an app it can't find instead of stopping. It installs apps, so run it on purpose, on the new PC.

winget import --import-file .\apps.json --accept-package-agreements --accept-source-agreements --ignore-unavailable

In a sentence

  • “On the new PC, Sam ran winget import with the apps file from the old one.”
  • “--ignore-unavailable lets winget import skip an app it can't find.”

Level: Journeyman · More Operating System terms at this level

Updated