8

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.

Anthony Mastrean
  • 21,850
  • 21
  • 110
  • 188
etalon11
  • 895
  • 2
  • 13
  • 36

1 Answers1

16

This is really a duplicate of this question:

How do I update all Chocolatey apps without confirmation?

Yes, totally possible, use:

choco install vagrant -y

See also choco install -h for more information.

Community
  • 1
  • 1
Gary Ewan Park
  • 17,610
  • 5
  • 42
  • 60