用户如何使用 Chocolatey 安装多个包?
How can users install multiple packages using Chocolatey?
我知道 choco install
命令可以接受多个参数,例如:
choco install package1 package2
这将一个接一个地安装软件包
不过,我想知道用户是否可以安装多个包,在外部文件中指定,类似于以下内容:
choco install <external-file>
根据 Chocolatey.org,您可以使用一个简单的 Packages.config
文件。
这里有更多信息:https://chocolatey.org/docs/commandsinstall#packagesconfig
引自上文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.
我知道 choco install
命令可以接受多个参数,例如:
choco install package1 package2
这将一个接一个地安装软件包
不过,我想知道用户是否可以安装多个包,在外部文件中指定,类似于以下内容:
choco install <external-file>
根据 Chocolatey.org,您可以使用一个简单的 Packages.config
文件。
这里有更多信息:https://chocolatey.org/docs/commandsinstall#packagesconfig
引自上文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.