AnyPackage.Chocolatey
is an AnyPackage provider that facilitates installing Chocolatey packages from any NuGet repository.
Install-Module AnyPackage.Chocolatey -Force
Import-Module AnyPackage.Chocolatey
Find-Package -Name nodejs
Find-Package -Name firefox*
Find-Package nodejs | Install-Package
Install-Package -Name 7zip
Get-Package nodejs
Get-Package keepass-plugin-winhello | Uninstall-Package
Register-PackageSource privateRepo -Provider Chocolatey -Location 'https://somewhere/out/there/api/v2/'
Find-Package nodejs -Source privateRepo | Install-Package
Unregister-PackageSource privateRepo
AnyPackage.Chocolatey integrates with Choco.exe to manage and store source information
AnyPackage.Chocolatey works with PowerShell for both FullCLR/'Desktop' (ex 5.1) and CoreCLR (ex: 7.0.1), though Chocolatey itself still requires FullCLR.
Users must upgrade to v0.1.0 or higher of this provider module prior to the release of Chocolatey v2 to ensure continued compatibility.
Save-Package is not supported with the AnyPackage.Chocolatey provider, due to Chocolatey not supporting package downloads without special licensing.
AnyPackage.Chocolatey is licensed under the MIT license.