Windows - Package Manager

Package managers: An application that makes package installation and removal easier

  • makes sure that the process of software installation, ​removal update and dependency management is as easy and automatic as possible.

 ​Some installation technologies like the Windows installer can take care of ​dependency management but they don’t do much to help you install software from ​a central catalog of programs or perform automatic updates. ​This is where a package manager like Chocolatey can come in handy.   - Chocolatey is a third party package manager for Windows.  - This means it’s not written by Microsoft, and ​lets you install Windows applications from the command line. ​  - Chocolatey is built on some existing Windows technologies like PowerShell and ​lets you install any package or ​software that exists in the public Chocolatey repository.  -  ​Configuration management tools like SCCM and Puppet even integrate with Chocolatey.  -  ​That helps make managing deployments of software to ​the Windows computers in your company automatic and simple.

First, you can install the Chocolatey command line tool and ​run it directly from your PowerShell CLI, or ​you can use the package management feature that was recently released for PowerShell.  ​Just specify that the source of the package should be the Chocolatey ​repository. ex) Install-Package -Name awesomesoftware -Source chocolatey

How do we actually go about installing this package? ​Well, that’s where the Installed-Package command line comes into play. Pasted image 20260623082449  ​We can verify it’s in place with the Get-Package command line. ​So Get-Package-name sysinternals.Pasted image 20260623082528 You can also uninstall a package using the uninstall-Package-Name sysinternals Pasted image 20260623082609

For more information about the NuGet package manager, check out the link here.

For more information about the Chocolatey package manager, check out the link here