Skip to content

Install a baseline with winget

Each published revision has a winget import file. People can install the revision themselves with plain winget against your source. No agent is needed.

  1. Open the baseline and the published revision.
  2. Under Install with winget, download the file. It is named <short-name>-r<n>.winget.json.
  3. In the file, replace the <source-key> placeholder with your source key.
  4. In the folder where you saved the file, run the command shown:
Terminal window
winget import --import-file "data-engineering-r2.winget.json" --accept-package-agreements --accept-source-agreements

winget installs each package at the version the revision fixed, in order. The agent, if installed, reports them at the next inventory.

Problem Fix
UAC prompts during the import A package installs machine-wide. Run as an administrator.
A source error in the file The <source-key> placeholder wasn’t replaced.