winstall icon indicating copy to clipboard operation
winstall copied to clipboard

Install multiple packages within a single winget install command

Open jo-chemla opened this issue 1 year ago • 5 comments

Winget supports installing multiple packages within a single command since early 2023 - see here. At the moment, this can be done by batches of 10 packages within a single command - see limitation thread

It could be nice for winstall to output a single command per batches of 10 packages to install

doskey winget-multi-install=winget install --disable-interactivity --accept-source-agreements --accept-package-agreements $*

winget-multi-install 7zip.7zip Mozilla.Firefox VideoLAN.VLC OBSProject.OBSStudio Microsoft.VisualStudioCode Microsoft.WindowsTerminal TheDocumentFoundation.LibreOffice SomePythonThings.WingetUIStore GitHub.GitHubDesktop BlenderFoundation.Blender # Gyan.FFmpeg ffmpeg is the 11th pkg

jo-chemla avatar Jun 20 '24 12:06 jo-chemla

Thank you for the suggestion. I'll be happy to merge a PR that implements this.

mherrmann avatar Jun 21 '24 06:06 mherrmann

Just made a quick PR, given where I think this code-block should take place - feel free to move it if needed. The UI element could be placed at a better location (radio). The 10 pkgs limitation is actually not real, I just tested with 20 packages and it did work.

jo-chemla avatar Jun 21 '24 13:06 jo-chemla

Hi there, just a quick ping inquiring for the status of this PR which can be merged from my point-of-view! 🚀

jo-chemla avatar Jul 15 '25 15:07 jo-chemla

I am very sorry I do not have time to look at this at the moment.

mherrmann avatar Jul 16 '25 16:07 mherrmann

Understood, thanks for getting back!

jo-chemla avatar Jul 16 '25 16:07 jo-chemla