I know that the choco install command can take multiple arguments like:
choco install package1 package2
This would install the packages one-by-one
I would like to know, however, if users can install multiple packages, specified in an external file, similar to the following:
choco install <external-file>
According to Chocolatey.org, you can use a simple Packages.config file.
More information here: https://chocolatey.org/docs/commandsinstall#packagesconfig
Quote from above link:
This is a list of packages in an xml manifest for Chocolatey to install. This is like the packages.config that NuGet uses except it also adds other options and switches. This can also be the path to the packages.config file if it is not in the current working directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With