-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow multiple apps to be installed using a single command #219
Comments
Or via config file like Chocolatey (e.g. packages.config) |
I support it! |
This is not the same thing as #156 |
I support this! |
managing multiple apps in a single command should be supported for all commands , not |
I definitely agree with you! At least |
I upvote (support) for this issue! This is extremely needed thing 🚀 |
This is one of the few things holding winget back from feeling like a full-fledged package manager (like apt, etc). A simple way to implement would even be to accept multiple arguments and then just run them sequentially. Even a separate list argument would be fine to specify a list of apps by ID. |
Would be cool if we could also install multiple apps by providing one file, like with |
To work around this limitation, I added the following PowerShell function to my profile ( # Function to process multiple WinGet Upgrades
function Winget-Upgrade {
Param(
# List of packages to upgrade
[Parameter(Position = 0, Mandatory = $true)]
[string[]] $Packages
)
foreach ($Package in $Packages) {
$Package = $Package.Trim()
Write-Host ('Upgrading {0}...' -f $Package) -ForegroundColor Green
WinGet Upgrade $Package
}
} With this in place you can upgrade multiple packages like this: |
I also think that this should be supported. It would make usage a lot easier. |
Excellent. For others: After adding this to your profile, don’t forget to reload the profile by doing |
This was the first thing I wanted to do, when I just used it for the first time. @danstis thx for the script. I have not used power shell scripts util now, so I had to change the execution policy in order to conveniently use winget. |
That should be available without any PS movement! |
When and how ill we get the new release ? |
This feature will land in |
And if i joined the Windows Package Manager Insider program? |
I think this is it: https://devblogs.microsoft.com/commandline/windows-package-manager-preview/ |
Will it appears here ? https://github.com/microsoft/winget-cli/tags |
We're looking to cut another preview in the next week or two. It will show up in the releases as a "preview" and it will be published to Windows Insider Dev. |
The below winget command do work for
|
@jo-chemla |
Indeed, I was using the same arguments for install and uninstall |
Description of the new feature/enhancement
Let us call
winget install
with a list of apps, so it'll install them at the same time OR in sequence.Proposal for command:
winget install app-1 app-2 app-3
The text was updated successfully, but these errors were encountered: