NuGet
Developer(s) | Microsoft, .NET Foundation |
---|---|
Initial release | 5 October 2010 |
Stable release | 6.11[1]
/ 13 August 2024 |
Preview release | 6.12.0.83[2]
/ 24 August 2024 |
Repository | github |
Written in | C# |
Platform | .NET Framework |
Type | Package management system |
License | Apache License 2.0 |
Website | www |
NuGet (pronounced "New Get")[3] is a package manager, primarily used for packaging and distributing software written using .NET and the .NET Framework. The Outercurve Foundation initially created it under the name NuPack.[4][5] Since its introduction in 2010, NuGet has evolved into a larger ecosystem of tools and services, including a free and open-source client application, hosted package servers, and software deployment tools.[6]
Overview
A NuGet package is a single ZIP file that bears a .nupack
or .nupkg
filename extension and contains .NET assemblies and their needed files, with a manifest file describing its contents.[7] Developers may create these packages with the NuGet client app and publish them in private or public repositories.[7]
NuGet was initially distributed as a Visual Studio extension. Starting with Visual Studio 2012, both Visual Studio and Visual Studio for Mac can natively utilise NuGet packages. NuGet's client, nuget.exe
is a free and open-source, command-line app that can both create and consume packages. MSBuild and .NET Core SDK (dotnet.exe
) can use it when it is present.[7] NuGet is also integrated with JetBrains Rider.[8]
It supports multiple programming languages, including:
- .NET Framework packages
- .NET packages
- Native packages written in C++,[9] with package creation aided by CoApp
See also
- Binary repository manager
- Chocolatey
- ProGet
- Software repository
- Web Platform Installer
- WinOps
- Windows Package Manager
References
- ^ "NuGet 6.11 Release Notes". Microsoft Learn. 13 August 2024. Retrieved 26 August 2024.
- ^ "Release 6.12.0.83". GitHub. 24 August 2024. Retrieved 26 August 2024.
- ^ And The Winner Is, NuGet, haacked.com. Retrieved on 24 March 2020.
- ^ Haack, Phil. "NuGet". Archived from the original on 26 December 2018. Retrieved 6 November 2010.
- ^ Haack, Phil (21 October 2010). "Changing the NuPack Project Name". OuterCurve Foundation. Archived from the original on 25 October 2010. Retrieved 6 November 2010.
- ^ An Overview of the NuGet Ecosystem. CodeProject (18 August 2013). Retrieved on 6 February 2015.
- ^ a b c karann-msft. "What is NuGet and what does it do?". docs.microsoft.com. Retrieved 12 November 2020.
- ^ "Consume NuGet packages". jetbrains.com. 9 August 2022. Retrieved 31 March 2023.
- ^ "NuGet for C++". 26 April 2013. Retrieved 29 April 2013.
External links