microsoft / microsoft/winget-cli
Winget Install Meta-Package
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
I would like the option to install multiple packages simultaneously using the Winget install command, similar to the Winget configuration feature but without needing to define a dsc.yaml file.
I want to define a package that contains several other packages as the actual payload. Then, I can simply execute the command winget install --id MetaPackageName, and all the metapackage content is installed.
The metapackage can look like this:
Meta-Package-Version-1.0
- componentA-Version-1.0
- componentB-Version-2.0
If I need a new version, I can create a new metapackage version that includes all the updated components.
Meta-Package-Version-2.0
- componentA-Version-2.0
- componentB-Version-3.0
This can be very useful for handling snapshots of components, allowing customers to install the correct versions of a specific snapshot all at once.
Proposed technical implementation details
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the winget install command and the existing Winget configuration flow described in the issue, including the role of dsc.yaml. Define how a metapackage would identify its component packages and pinned versions without that file. Done means a metapackage can be installed by ID and installs all specified components at the intended snapshot versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100