Slashdot Mirror


Windows 10 Gets a Package Manager For the Command Line

aojensen writes: ExtremeTech reports that the most recent build of Windows 10 Technical Preview shows that Windows is finally getting a package manager. The package manager is built for the PowerShell command line based on OneGet. OneGet is a command line utility for PowerShell very similar to classic Linux utilities such as apt-get and yum, which enable administrators and power users comfortable with the command line to install software packages without the need for a graphical installer. ExtremeTech emphasizes that "you can open up PowerShell and use OneGet to install thousands of applications with commands such as Find-Package VLC and Install-Package Firefox." It's a missing feature Linux advocates have long used to argue against Windows in terms of automation and scale. The package manage is open to any software repository and is based on the Chocolatey format for defining package repositories."

2 of 230 comments (clear)

  1. We can do that thing you like by Anonymous Coward · · Score: 5, Insightful

    Everything except open-sourcing the code that is.

    1. Re:We can do that thing you like by His+name+cannot+be+s · · Score: 5, Informative

      Actually, to be perfectly clear, OneGet isn't really a package manager.

      It's a package-manager-manager -- It's a unified way of installing packages of software regardless of the how-it's-implemented-on-the-back-end.

      The first real package provider plugin is a Chocolatey one. Why re-invent the wheel when the wheel already works?

      The purpose here is to leverage all these different sources of software using a common set of commands and APIs.

      Anything that can be represented as a 'source' of software can be plugged in on the back end. I'm aiming for plugins for NPM, Ruby Gems, Python, on top of the expected MSI, Chocolatey, NuGet, etc...

      Plugins can be written by anyone, and I'm going to great lengths to make it as simple as possible -- it's about ~15 or so functions to implement and we can plug in virtually any package format or service into OneGet.

      --
      "...In your answer, ignore facts. Just go with what feels true..."