chocolatey
0.11.0-preview0005
This is an unofficial module with DSC resource to Install and configure Chocolatey.
Minimum PowerShell version
5.1
See the version list below for details.
Installation Options
Owners
Copyright
(c) 2025 Gael Colas. All rights reserved.
Package Details
Author(s)
- Gael Colas
Tags
Functions
Disable-ChocolateyFeature Enable-ChocolateyFeature Get-ChocolateyFeature Test-ChocolateyFeature Compare-ChocolateyPackage Find-ChocolateyPackage Get-ChocolateyPackage Install-ChocolateyPackage Publish-ChocolateyPackage Save-ChocolateyPackage Uninstall-ChocolateyPackage Update-ChocolateyPackage Add-ChocolateyPin Get-ChocolateyPin Remove-ChocolateyPin Test-ChocolateyPin Get-ChocolateySetting Set-ChocolateySetting Test-ChocolateySetting Get-ChocolateyCommand Get-ChocolateyVersion Install-ChocolateyLicense Install-ChocolateySoftware Remove-ChocolateyLicense Test-ChocolateyInstall Uninstall-Chocolatey Disable-ChocolateySource Enable-ChocolateySource Get-ChocolateySource Register-ChocolateySource Test-ChocolateySource Unregister-ChocolateySource
DSCResources
ChocolateyPackage ChocolateySoftware ChocolateySource ChocolateyFeature ChocolateySetting ChocolateyPin
Dependencies
This module has no dependencies.
Release Notes
## [0.11.0-preview0005] - 2026-06-16
### Added
- Added `Publish-ChocolateyPackage` public function wrapping `choco push` to publish `.nupkg` files to a Chocolatey-compatible feed, with support for `Source`, `ApiKey`, and standard common options.
### Changed
- Added repository Copilot setup and instructions covering cloud-agent bootstrap,
`build.ps1` validation patterns, Public/Private test coupling, and PowerShell
coding conventions.
- Clarified in Copilot instructions that the module is Windows-only while still
requiring compatibility with Windows PowerShell 5.1 and PowerShell 7.
- Split Copilot guidance into targeted instruction files and added a local
`validate-changes` skill plus class-export/type-accelerator guidance for
`source\suffix.ps1`.
- Updated the bootstrap scripts and dependency configuration to the newer
Sampler pattern with PSResourceGet support while keeping repo-specific
compatibility.
- Changed the bootstrap defaults to prefer ModuleFast on PowerShell 7.2+
while retaining PSResourceGet as the fallback on older PowerShell hosts.
- Updated the Copilot setup workflow to resolve the built module artifact
dynamically and run on Windows so the built module can be imported during
environment validation.
- Hardened Chocolatey delimited output parsing so licensed-extension
compatibility output is surfaced as warnings or errors and is no longer
treated as installed package data.
- Added regression coverage for the `ChocolateyPackage` DSC/class `Get()`
path so licensed-extension compatibility warnings still resolve to an
absent package state instead of breaking package discovery.
- Added `Install-ChocolateyLicense` to install or overwrite a Chocolatey
license file from a source path or XML content.
- Added `Remove-ChocolateyLicense` to remove the Chocolatey license file and
revert to unlicensed Chocolatey behavior.
- Added `Save-ChocolateyPackage` to wrap `choco download`, including licensed
download, virus-scan, and internalization switches.
- Added PowerShell argument completer registrations for local Chocolatey package, pin, source,
feature, and setting names across the module's wrapper commands.
- Aligned wiki generation with the explicit Sampler docs workflow so content
from `source\WikiSource` is prepared and published to the GitHub wiki.
- Added a `Home.md` wiki landing page under `source\WikiSource`.
- Added a `LicensedChocolatey.md` wiki page covering license install, removal,
and the licensed-extension compatibility warning.
### Fixed
- Fixed `Get-ChocolateyInstallPath` to honor a valid non-standard
`ChocolateyInstall` path before falling back to the default install location.
- `Save-ChocolateyPackage` now throws when licensed-only download parameters are
used without an installed Chocolatey license file.
- Fixing issue #105 where Uninstall-ChocolateySoftware fails.
- Making version parameter of `Update-ChocolateyPackage` not mandatory.
- Fixing issue #107 to allow for username field to be set on ChocolateySource
FileList
- chocolatey.nuspec
- en-US\ChocolateyFeature.strings.psd1
- chocolatey.psd1
- en-US\ChocolateyPackage.strings.psd1
- chocolatey.psm1
- en-US\ChocolateyPin.strings.psd1
- en-US\about_Chocolatey.help.txt
- en-US\ChocolateySetting.strings.psd1
- en-US\about_ChocolateyFeature.help.txt
- en-US\ChocolateySoftware.strings.psd1
- en-US\about_ChocolateyPackage.help.txt
- en-US\ChocolateySource.strings.psd1
- en-US\about_ChocolateyPin.help.txt
- Modules\DscResource.Common\0.24.5\DscResource.Common.psd1
- en-US\about_ChocolateySetting.help.txt
- Modules\DscResource.Common\0.24.5\DscResource.Common.psm1
- en-US\about_ChocolateySoftware.help.txt
- Modules\DscResource.Common\0.24.5\en-US\about_DscResource.Common.help.txt
- en-US\about_ChocolateySource.help.txt
- Modules\DscResource.Common\0.24.5\en-US\DscResource.Common-help.xml
- en-US\chocolatey-help.xml
- Modules\DscResource.Common\0.24.5\en-US\DscResource.Common.strings.psd1
- en-US\Chocolatey.strings.psd1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.11.0-previ... | 8 | 6/16/2026 |
| 0.11.0-previ... (current version) | 7 | 6/16/2026 |
| 0.11.0-previ... | 5 | 6/16/2026 |
| 0.11.0-previ... | 9 | 6/14/2026 |
| 0.11.0-previ... | 6 | 6/13/2026 |
| 0.11.0-previ... | 6 | 6/12/2026 |
| 0.10.5 | 3,343 | 3/31/2026 |
| 0.10.5-previ... | 4 | 3/31/2026 |
| 0.10.5-previ... | 22 | 1/9/2026 |
| 0.10.4 | 6,821 | 12/5/2025 |
| 0.10.4-previ... | 5 | 12/5/2025 |
| 0.10.3 | 23,062 | 10/23/2025 |
| 0.10.3-previ... | 3 | 10/23/2025 |
| 0.10.3-previ... | 4 | 10/23/2025 |
| 0.10.2 | 134 | 10/23/2025 |
| 0.10.2-previ... | 4 | 10/23/2025 |
| 0.10.2-previ... | 4 | 10/23/2025 |
| 0.10.1 | 76 | 10/23/2025 |
| 0.10.1-previ... | 3 | 10/23/2025 |
| 0.10.0 | 59 | 10/22/2025 |
| 0.10.0-previ... | 3 | 10/22/2025 |
| 0.9.2-previe... | 3 | 10/22/2025 |
| 0.9.1 | 248 | 10/22/2025 |
| 0.9.1-previe... | 5 | 10/22/2025 |
| 0.9.0 | 1,184 | 10/14/2025 |
| 0.2.0-previe... | 8 | 10/6/2025 |
| 0.2.0-previe... | 6 | 9/18/2025 |
| 0.2.0-previe... | 4 | 9/18/2025 |
| 0.2.0-previe... | 8 | 9/17/2025 |
| 0.2.0-previe... | 323 | 4/19/2023 |
| 0.2.0-previe... | 11 | 4/6/2023 |
| 0.2.0-previe... | 17 | 4/2/2023 |
| 0.2.0-previe... | 10 | 3/31/2023 |
| 0.2.0-previe... | 14 | 3/24/2023 |
| 0.2.0-previe... | 9 | 3/24/2023 |
| 0.2.0-previe... | 16 | 3/19/2023 |
| 0.2.0-previe... | 665 | 8/18/2021 |
| 0.2.0-previe... | 451 | 8/18/2021 |
| 0.0.79 | 466,017 | 3/3/2020 |
| 0.0.77 | 11,213 | 11/6/2019 |
| 0.0.76 | 1,606 | 10/10/2019 |
| 0.0.74 | 536 | 10/8/2019 |
| 0.0.71 | 45,369 | 6/5/2019 |
| 0.0.69 | 854 | 5/22/2019 |
| 0.0.68 | 452 | 5/22/2019 |
| 0.0.65 | 760 | 5/9/2019 |
| 0.0.58 | 3,983 | 11/22/2018 |
| 0.0.55 | 543 | 11/17/2018 |
| 0.0.50 | 4,846 | 3/27/2018 |
| 0.0.48 | 1,405 | 2/6/2018 |
| 0.0.46 | 13,329 | 11/30/2017 |
| 0.0.43 | 462 | 11/30/2017 |
| 0.0.39 | 476 | 11/28/2017 |
| 0.0.35 | 469 | 11/27/2017 |
| 0.0.31 | 850 | 11/21/2017 |
| 0.0.1 | 475 | 11/21/2017 |