Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to bypass Chocolatey install confirmation? [duplicate]

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.

like image 327
etalon11 Avatar asked May 12 '15 18:05

etalon11


1 Answers

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.

like image 105
Gary Ewan Park Avatar answered Sep 18 '22 23:09

Gary Ewan Park