Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

NuGet documentation

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".

Overview

What is NuGet?

Download

Install NuGet client tools

video

Learn NuGet

Overview

NuGet.org

Consume, create, and publish packages

Get started

  • Install NuGet client tools
  • Install and use a package - dotnet CLI
  • Install and use a package - Visual Studio
  • Create a package - dotnet CLI
  • Create a package - Visual Studio
  • Create a .NET Framework package - Visual Studio

Consume packages

  • Workflow (overview)
  • Find and choose packages
  • Use Visual Studio
  • Use dotnet CLI
  • Use nuget.exe CLI
  • Use Package Manager Console

Create packages

  • Workflow (overview)
  • Use Visual Studio
  • Use dotnet CLI
  • Use nuget.exe CLI
  • Use MSBuild
  • Support multiple target frameworks

Publish packages

  • Publish to NuGet.org
  • Publish to a private feed

Reference and resources

NuGet.org

  • Overview
  • Individual accounts
  • Organizations
  • API keys
  • Publish a package

Reference

  • dotnet CLI
  • nuget.exe CLI
  • Package references
  • pack and restore as MSBuild targets
  • .nuspec
  • nuget.config
  • NuGet API

Resources

  • Policies - NuGet
  • Policies - NuGet.org
  • Release notes
  • FAQ - NuGet
  • FAQ - NuGet.org

Blogs - Twitter - Stack Overflow

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023