NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Download the Chocolatey package Download
Sounds great, doesn’t it? So, we’re going to see how to install and use Chocolatey in Windows 10. Installing Chocolatey. Chocolatey behaves just like any other package manager. Additionally, it simply handles all aspects of software administration. In other words, installation, configuration, updating, and uninstallation. In addition, this manager is that it allows you to install and maintain both free and open-source software and proprietary software that requires licenses. Mar 30, 2018 The Command Prompt in Windows 10 doesn’t compare to the terminal on Linux. To make up for its shortcomings, tools like wget and Cygwin can be installed on Windows to get more out of the Command Prompt. Here’s how you can install and use wget in Windows 10.
2. Put the Chocolatey package on your internal repository
Please see hosting packages internally and the organizational deployment guide.
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Pick your deployment methods:
1. Save this installation script2. Make script accessible by internal url
Put the script somewhere internally that can be accessed by a url (like a raw/binary repository in Nexus, Artifactory, or ProGet).
3. Install/Deploy Chocolatey internally
Now you can do similar to the individual side, but your command will be something like:
1. Follow the steps in the Generic tab, you will need to have finished getting a script ready and accessible over a url to complete this part.
2. Add the following to your playbook:
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming in 2020! Central Managment Reporting available now! More information...
The install of Chocolatey is separate from the Chef built-in resources. You will need the Chocolatey Cookbook.
Check back later for this!
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
1. Follow the steps in the Generic tab, you will need to have finished getting a script ready and accessible over a url to complete this part.
2. Add the following to your DSC script:
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
Check back later for this!
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. Ensure you are set up for organizational deployment
Please see the organizational deployment guide.
NOTES:
- Use of the community repository directly, even to install Chocolatey is not recommended for organizational use - in fact rate limiting is in place to ensure the stability of the community package repository. Downloading/installing the Chocolatey package itself is rate limited to 5 times per minute, with a one hour lockout. Following these instructions will ensure you don't get yourself into trouble when you deploy.
- There are methods to achieve similar to what you may have seen using the community repository personally. See the organizational deployment guide and community packages - how to avoid excessive use for more information.
- Make sure you subscribe to chocolatey-announce to learn when new versions are available!