Search for a command to run...
Package manager for .NET that defines how libraries are created, hosted, and consumed. Packages are single ZIP files with compiled code, metadata, and a manifest, and can be published to public or private hosts for other projects to install and use.
NuGet maintains the central nuget.org repository with over 100,000 packages used by millions of .NET developers daily. Microsoft supports both the client tools and the public gallery. Private feeds can be hosted on Azure DevOps, internal networks, or the local filesystem. Compared to manually shipping DLLs, NuGet handles dependency resolution across the full graph, including version conflicts when multiple packages reference different versions of the same dependency.
Key features:
Common scenarios: adding libraries like Entity Framework, Serilog, or Newtonsoft.Json to .NET projects, publishing internal shared libraries to a private feed, restoring packages on build agents for Azure DevOps or GitHub Actions. Developers rely on package restore during build and when cloning repositories, keeping only reference lists in source control instead of binaries.