6

When I want to install packages like vagrant with chocolatey, I get the message:

The package vagrant wants to run 'chocolateyInstall.ps1'. Note: If you don't run this script, the installation will fail. Do you want to run the script?

Is there a way to overleap this question or something like a silent-mode?

One command for example in PowerShell:

choco install vagrant

Thanks in advance.

4

1 回答 1

13

这实际上是这个问题的重复:

如何在没有确认的情况下更新所有 Chocolatey 应用程序?

是的,完全有可能,使用:

choco install vagrant -y

另请参阅choco install -h以获取更多信息。

于 2015-05-13T06:05:31.520 回答