Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install multiple packages within a single winget install command #167

Open
jo-chemla opened this issue Jun 20, 2024 · 3 comments
Open

Install multiple packages within a single winget install command #167

jo-chemla opened this issue Jun 20, 2024 · 3 comments

Comments

@jo-chemla
Copy link

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
@mherrmann
Copy link
Collaborator

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

@jo-chemla
Copy link
Author

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
Copy link
Author

jo-chemla commented Aug 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants