Skip to content
ChocolateyGet provider allows to download packages from Chocolatey.org repository via OneGet
PowerShell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Test
ChocolateyGet.Resource.psd1
ChocolateyGet.psd1
ChocolateyGet.psm1
LICENSE.txt
README.md
appveyor.yml

README.md

Build status

ChocolateyGet

ChocolateyGet provider allows to download packages from Chocolatey.org repository via OneGet.

Get the ChocolateyGet installed

Find-PackageProvider ChocolateyGet -verbose

Install-PackageProvider ChocolateyGet -verbose

Import-PackageProvider ChocolateyGet

# Run Get-Packageprovider to check if the ChocolateyGet provider is imported
Get-Packageprovider -verbose

Sample usages

find-packages

find-package -ProviderName ChocolateyGet -name  nodejs

find-package -ProviderName ChocolateyGet -name firefox*

install-packages

find-package nodejs -verbose -provider ChocolateyGet -AdditionalArguments --exact | install-package

install-package -name 7zip -verbose -ProviderName ChocolateyGet

get-packages

get-package nodejs -verbose -provider ChocolateyGet

uninstall-package

get-package nodejs -provider ChocolateyGet -verbose | uninstall-package -AdditionalArguments '-y --remove-dependencies' -Verbose

save-package

save-package is not supported for ChocolateyGet provider. It is because ChocolateyGet is a wrapper of choco.exe which currently does not support down packages only.

Pass in choco arguments

If you need to pass in some of choco arguments to the Find, Install, Get and Uninstall-package cmdlets, you can use AdditionalArguments PowerShell property.

Known Issues

Currently ChocolateyGet works on Full CLR. It is not supported on CoreClr. This means ChocolateyGet provider is not supported on Nano server or Linux OSs. The primarily reason is that the current version of choco.exe does not seem to support on CoreClr yet.

Legal and Licensing

ChocolateyGet is licensed under the MIT license.

You can’t perform that action at this time.