microsoft / microsoft/winget-cli
Allow winget download to accept -i
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
It would be really useful if winget download could import from a list and download the installer from all the packages stored inside. That way, it would be easier to do things like keep a offline backup of installers should one need it or to manually run the installer for the initial install so paths and settings can be configured as the user wants, to avoid everything being installed on the main OS partition, for instance
Proposed technical implementation details
Iterate through a list provided in import/export format, downloading the installer that best matches the system into either a default folder or a user specified one. Basically, just do the same as would be for the normal download command, but without having to manually specify each and every package individually
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 tracing the winget download command and its existing handling of import/export package lists. Review how normal downloads choose the best system match and destination folder. Done means a supplied list can be imported, each package installer is downloaded with the normal matching behavior, and the default or user-specified folder is supported.
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
- Mostly clear
- Newbie friendliness
- 32/100