chocolatey settings
Last updated
Was this helpful?
Last updated
Was this helpful?
Allow to manage .
chocolatey is only available for Windows.
pkgs
allow installing some .
You need to specify the name of the packages to install.
A simple example, in the file to ask to install the python3
module :
True
to enable
, False
to skip (default to False
).
opts
is not mandatory but allows to pass extra args.
chocolatey:pkgs:opts:global
: allow passing arguments to all chocolatey packages when installing, updating, or uninstalling a package
chocolatey:pkgs:<mypkg>:opts:global
: allow passing arguments to <mypkg>
chocolatey package when installing, updating, or uninstalling the package
This is just an example, if you do that you will have 2 python packages installed. One by and another one by chocolatey.
Extra args can be arguments described in the or can be .
In the previous example version
has been specified in the global
section of the python
package because version
can be passed into the , or .
chocolatey:pkgs:opts:install
: allow passing arguments to all chocolatey packages when installing a package (cf )
chocolatey:pkgs:opts:update
: allow passing arguments to all chocolatey packages when updating a package (cf )
chocolatey:pkgs:opts:uninstall
: allow passing arguments to all chocolatey packages when uninstalling a package (cf )
chocolatey:pkgs:<mypkg>:opts:install
: allow to pass arguments to <mypkg>
chocolatey packages when installing the package (cf )
chocolatey:pkgs:<mypkg>:opts:update
: allow to pass arguments to <mypkg>
chocolatey packages when updating the package (cf )
chocolatey:pkgs:<mypkg>:opts:uninstall
: allow to pass arguments to <mypkg>
chocolatey packages when uninstalling the package (cf )