Most people are familiar with the package managers within the different Linux tastes.
Well OneGet is just like that but then for Windows.
Command line based software installation and un-installation.
It works with the Chocolatey as the software repository which currently holds up 2561 applications.
There are 2 more repository's, PSGallery and MSPSGallery but they hold none to little applications.
First let's see what we can do with OneGet:
Get-Command -Module OneGet | Select Name Name ---- Find-Package Get-Package Get-PackageProvider Get-PackageSource Install-Package Register-PackageSource Save-Package Set-PackageSource Uninstall-Package Unregister-PackageSource
If you want to start using OneGet, you first have to install "nuget":
Find-Package The provider 'nuget v184.108.40.206' is not installed. 'nuget' may be manually downloaded from 'https://oneget.org/nuget-anycpu-220.127.116.11.exe' and copied to 'C:\Program Files\OneGet\ProviderAssemblies'. Would you like OneGet to automatically download and install 'nuget' now? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
To view the installed repositories:
Get-PackageSourceTo view the total number of packages in the repository:
Find-Package | Measure-ObjectTo show all the packages in the repository:
Find-Package | Sort-Object –Property Name | Out-GridViewInstall a package:
install-package -Name imgburnTo uninstall a package:
uninstall-package -Name imgburnSet the repository as trusted:
set-packagesource -name chocolatey -trustedTo unregister the Chocolatey repository:
Unregister-PackageSource –name Chocolatey