Guide: How to Use OneGet on Win­dows 10 PC

If you’ve ever used Linux, you’ve always wanted a package management tool for Windows. Yes, Windows has a third-party package management tool called Chocolatey that can be run from the command line. But Windows 10 brought OneGet into a native package management tool, as announced by Microsoft’s Garret Serack in a blog post. It allows you to install / remove and update software packages with NuGet Package Manager using Powershell. It also has support for the Chocolatey repository. A manager for package managers. Note: With the Windows 10 RTM release, OneGet has been renamed to PackageManagement. So let’s see how to effectively install / remove and update multiple software packages with OneGet (PackageManagement). And see also how to integrate Chocolatey with it.

What are OneGet (PackageManagement) and Chocolatey?

For non-Linux users and those who don’t know anything about package management, Package Manager makes installing, updating and removing software (package) very easy. Package manager uses a repository where all software packages are stored. You just need to enter a command to get those software packages and install them on your PC. You can install or update the software with just a single command. Updating is done automatically when the software is updated in the repository. So that’s what Package Management is all about. Now OneGet is one step ahead as a tool. It is a manager of a package managerIt can host multiple repositories such as Chocolatey and NuGet. We’ve talked about Chocolatey before. Chocolatey can work with the command prompt. NuGet contains software packages specific to Microsoft’s Application Development tools. You can enter a single command and get software from these repositories.

How to Using OneGet?

So let’s take a look at the available commands first. You can see it in it feature image above. To see the available commands, type the following command in Powershell. Remember, not OneGet but PackageManagement (I’m writing OneGet here just for simplicity). So now you have the list of commands. Now let’s start by looking at what repositories (package managers) we have.

Get package sources

Type the following command (or just copy it): You should get the package sources installed on your system.

So I only installed the built-in PowerShell gallery. Now let’s install the Chocolatey Package Manager. If you already see Chocolatey in the list, skip the next step.

Install Chocolatey

Enter the following command: Get-PackageProvider will find the package repositories available and install them.

Hit Enter and the Chocolatey installation should start. After the installation is complete, check the package source again with the command you applied earlier. You should see Chocolatey. Next, we need to set Chocolatey as the default software package source. We use the set-packagesource command to set it as default. Enter the following command: Now that we’re all set, we’re going to install software from the chocolatey repository.

Install software from Chocolatey Repository

You get more options with Chocolatey. You don’t have to go to Chocolatey’s website and find the software you want to install. You can find that in Powershell itself using the find-package command. Let’s say you want to find all packages related to ‘Chrome’.

Now you will get all the packages with the Chrome keyword in it along with a summary. Now, from this list, I will install Adblockpluschrome.

Enter Y and the installation will begin.

No upgrade command available

Surprisingly, OneGet does not have an update command. There is an update command in Chocolatey, but it doesn’t apply here. This issue was reported on GitHub when technical samples were fired to the Insiders and it is still unresolved. Do you want to become a Command Prompt Ninja? Here’s a list of function keys you can create one with.


Now that you know the basics, you can further explore the commands and parameters. If you don’t think OneGet has provided a top-notch service, you can always opt for Chocolatey and use it from the command line. ALSO SEE: 3 alternatives to the command prompt that are better than the default

How to Use OneGet on Win­dows 10 PC: benefits


Final note

I hope you like the guide How to Use OneGet on Win­dows 10 PC. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends. For our visitors: If you have any queries regards the How to Use OneGet on Win­dows 10 PC, then please ask us through the comment section below or directly contact us. Education: This guide or tutorial is just for educational purposes. Misinformation: If you want to correct any misinformation about the guide “How to Use OneGet on Win­dows 10 PC”, then kindly contact us. Want to add an alternate method: If anyone wants to add more methods to the guide How to Use OneGet on Win­dows 10 PC, then kindly contact us. Our Contact: Kindly use our contact page regards any help. You may also use our social and accounts by following us on Whatsapp, Facebook, and Twitter for your questions. We always love to help you. We answer your questions within 24-48 hours (Weekend off). Channel: If you want the latest software updates and discussion about any software in your pocket, then here is our Telegram channel.

How to Use OneGet on Win dows 10 PC 2021  2022  - 84How to Use OneGet on Win dows 10 PC 2021  2022  - 28How to Use OneGet on Win dows 10 PC 2021  2022  - 19How to Use OneGet on Win dows 10 PC 2021  2022  - 52How to Use OneGet on Win dows 10 PC 2021  2022  - 26How to Use OneGet on Win dows 10 PC 2021  2022  - 46How to Use OneGet on Win dows 10 PC 2021  2022  - 68How to Use OneGet on Win dows 10 PC 2021  2022  - 77How to Use OneGet on Win dows 10 PC 2021  2022  - 66