Contents

Automate App Packaging Using Winget


I want to show my simple script that automates the installation of multiple Windows apps using winget.
It’s better and faster way than manual installation, especially when you often installing a new Windows.


How To Start

iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JDBpN'))

Prepare App List

  • You have to create json file with your packages.

  • If you downloaded script from github you will have in directory example file “package.json”.

  • In this file provide name of your apps.

Font
  • App name can be found with next command (example):
winget search sumatra
Font

Install

  • When you run the script enter your json file. Location can be local (absolute path) or url.
  • Proceed the installation.
Font