← Package directory
Available on winget

Install NuGet

The package manager for .NET

Install with winget
winget install --id Microsoft.NuGet
Upgrade
winget upgrade --id Microsoft.NuGet
Uninstall
winget uninstall --id Microsoft.NuGet

About NuGet

NuGet is the package manager for .NET. It enables developers to create, share, and consume useful .NET libraries. NuGet client tools provide the ability to produce and consume these libraries as "packages".

What's new in 7.6.0

Summary: What's New in 7.6.0 - Treat TargetFramework(s) values as aliases - #5154 - This feature enables building for the same framework multiple times, enabling scenarios such as generating runtime specific assemblies for the same target framework, as well as making running benchmarks on different versions of the same package easier. - Learn more about TargetFramework aliases - Pack is aliased-framework-aware - #14751 - When a project has multiple TargetFramework aliases that resolve to the same framework, dotnet pack now detects the ambiguity and raises NU5051 with an actionable error message instead of producing unexpected output. - Package management APIs for file-based apps - #14390 - NuGet now exposes APIs that dotnet package add, list, remove, and update use for file-based apps that reference packages with #:package directives in C# source files. - Read push API key from environment variable - #12539 - dotnet nuget push can now read the API key from an environment variable, avoiding the need to pass secrets on the command line or store them in configuration files. Issues fixed in this release - nuget push sends CI platform in user-agent header - #14740 - nuget.exe push now includes the CI platform (Azure DevOps, GitHub Actions, and others) in the HTTP user-agent header, allowing package sources to identify where pushes originate. - dotnet add package --no-restore with Central Package Management no longer produces NU1008 - #12552 - When using Central Package Management, dotnet add package --no-restore now correctly adds the PackageReference without a Version attribute...

Read release notes

Version history

Version Updated Notes
7.6.0 Unknown Summary: What's New in 7.6.0 - Treat TargetFramework(s) values as aliases - #5154 - This feature enables building for the same framework multiple times, enabling scenarios such as generating runtime specific assemblies f...
7.3.1 Unknown Summary: What's New in 7.3.0 - Support for managing audit sources in Visual Studio options UI - #13955 - Manage NuGet Packages in vulnerability gold bar could take you to a view with vulnerability filter selected - #1305...
7.3.0 Unknown Summary: What's New in 7.3.0 - Support for managing audit sources in Visual Studio options UI - #13955 - Manage NuGet Packages in vulnerability gold bar could take you to a view with vulnerability filter selected - #1305...
7.0.1 Unknown Release notes
7.0.0 Unknown Release notes
6.14.0 Unknown Summary: What's New in 6.14.0 - (preview feature) NuGet onboards to Unified Settings and create General page - #14040 - Support for new slnx solution format - #14034 - dotnet-nuget-push now supports --config-file - #4879...
6.13.2 Unknown Summary: What's New in 6.13.1 NuGet 6.13.1 is available in Visual Studio 17.13. - Support for new slnx solution format in dotnet nuget why and dotnet list package - #14034 Summary: What's New in 6.13.0 NuGet 6.13.0 is av...
6.13.1 Unknown Summary: What's New in 6.13.1 NuGet 6.13.1 is available in Visual Studio 17.13. - Support for new slnx solution format in dotnet nuget why and dotnet list package - #14034 Summary: What's New in 6.13.0 NuGet 6.13.0 is av...
6.12.2 Unknown Known Issues - Project and package in the same graph with the same name but different dependencies may lead to incorrect versions of the dependencies of that id #13888 - VS PM UI shows warning icon about package vulnerab...
6.12.1 Unknown Known Issues - Project and package in the same graph with the same name but different dependencies may lead to incorrect versions of the dependencies of that id #13888 - VS PM UI shows warning icon about package vulnerab...
6.11.1 Unknown No notes
6.11.0 Unknown No notes
6.10.0 Unknown No notes
6.9.1 Unknown No notes
6.8.0 Unknown No notes
6.7.0 Unknown No notes
6.6.1 Unknown No notes
6.5.0 Unknown Release notes
6.4.0 Unknown Release notes
6.3.1 Unknown Release notes