Difference between Chocolatey and NuGet
Asked Answered
M

1

97

Is Chocolatey a higher version of NuGet or a different package manager? Where should I put my open source application? NuGet or Chocolatey?

Madigan answered 9/7, 2014 at 19:47 Comment(2)
This is addressed in the Chocolatey FAQ: github.com/chocolatey/chocolatey/wiki/…Phosphatase
That link originally shared is now github.com/chocolatey/choco/wiki/…Graig
A
150

NuGet is designed to allow you to easily add code libraries to your project. Things like JSON.NET, Entity Framework, etc.

Chocolatey is actually built on top of the NuGet package system, but it is designed to fill a different need. Chocolatey wraps up applications and other executables and makes it easy to install them on your computer. For example, tools like Git, Notepad++, etc. can be easily installed with a command like cinst git.

https://chocolatey.org/packages has a list of all the applications that can be installed.

If you have an open source project which is a library that is to be used in other developers' projects, then you should submit it to NuGet.

If it is an application that users would normally install, then create a Chocolatey package that users can easily install and update from the command line.

Arlie answered 9/7, 2014 at 21:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.