CLI flags can be used to install from a local manifest, force installation by ID only, only search the name, specify a specific version to install, install quietly, and more.
wingetcreate new INSTALLER_URL_1 INSTALLER_URL_2 ...
Only one URL is required, but there could be multiple, e.g. for different architectures (x64 vs. arm64, etc.)
The schema supports “singleton” manifests (all metadata in one file), but wingetcreate creates multi-file manifests, and those are the only ones accepted by the community repository
The PACKAGE_ID.installer.yaml supports specifying InstallerSwitches, e.g. for silent installation
Packages can be “tagged” to be discoverable using miscellaneous search terms
Validate a manifest:
winget validate -manifest MANIFEST_PATH
Test-install a manifest:
winget install -manifest MANIFEST_PATH
“Windows Sandbox” is a disposable VM in Windows 11 Pro and higher editions that can simplify testing installers
Store a GitHub token to allow wingetcreate to open pull requests for package contributions:
wingetcreate -store GITHUB_PAT_TOKEN
Open a pull request from wingetcreate (this automatically forks the community repository in the user’s GitHub account):