VSCode-Anywhere
  • Introduction
  • Installation
    • Requirements
      • Windows requirements
      • Linux requirements
      • MacOS requirements
    • Quickstart
    • Advanced
      • Windows installation
      • Linux installation
      • MacOS installation
  • Modules
    • Module installation
    • Module update
    • Module settings
      • Global settings
        • brew settings
        • chocolatey settings
        • env settings
        • msys2 settings
        • nix settings
        • scoop settings
        • vscode settings
        • zeal settings
    • Modules list
      • Ansible
      • Bash
      • C / C++
      • C#
      • Custom
      • Deepcode
      • Docker
      • Fonts
      • Git
      • Go
      • HTML
      • Java
      • JavaScript / TypeScript
      • Markdown
      • Perl
      • PHP
      • Platformio
      • PowerShell
      • Puppet
      • Python2
      • Python3
      • Remote
      • Rest
      • ReStructuredText
      • Ruby
      • Saltstack
      • VSCode
    • Custom modules
  • Structure
    • apps
    • conf
      • saltstack
        • conf-offline
        • conf
        • pillar
        • states
    • tools
      • env
      • install
      • link
      • update
      • vscode
      • vscode-anywhere
  • Tutorials
    • Youtube tutorials
  • Release notes
    • V2
      • V2.0.0
    • V1
  • FAQ
Powered by GitBook
On this page
  • pkgs
  • enabled
  • opts

Was this helpful?

  1. Modules
  2. Module settings
  3. Global settings

chocolatey settings

Previousbrew settingsNextenv settings

Last updated 4 years ago

Was this helpful?

Allow to manage .

chocolatey is only available for Windows.

pkgs

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 python3module :

vscode-anywhere:
    python3:
        enabled: True
        chocolatey:
            pkgs:
                opts:
                    global: {}
                    install: {}
                    update: {}
                    uninstall: {}
                python:
                    enabled: True
                    opts:
                        global:
                            version: '3.8.2'
                        install: {}
                        update: {}
                        uninstall: {}

enabled

True to enable, False to skip (default to False).

opts

opts is not mandatory but allows to pass extra args.

Global packages settings

  • chocolatey:pkgs:opts:global: allow passing arguments to all chocolatey packages when installing, updating, or uninstalling a package

Specific packages settings

  • 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 versionhas 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 )

scoop
Saltstack chocolatey states
global Saltstack arguments
states.chocolatey.installed
states.chocolatey.upgraded
states.chocolatey.uninstalled
states.chocolatey.installed
states.chocolatey.upgraded
states.chocolatey.uninstalled
states.chocolatey.installed
states.chocolatey.upgraded
states.chocolatey.uninstalled
chocolatey
chocolatey packages
chocolatey python 3.8.2 package
vscode-anywhere.sls