NuGet
nuget.org
- Free plan
- Windows
- macOS
- Linux
- Web
- API
What NuGet is
NuGet is a package manager for .NET projects, combining client tools with the NuGet Gallery, a central repository for package authors and consumers. Packages use .nupkg or .snupkg formats; a .nupkg ZIP can contain compiled code, related files, and a manifest. NuGet defines how packages are created, hosted, and consumed, while resolving dependency graphs and recording package identifiers and versions for repeatable restoration across machines and build servers. Packages may be hosted publicly or in private cloud, network, or local-file feeds. Developers can work through Visual Studio’s package manager, the dotnet CLI, nuget.exe, or Visual Studio Code extensions. PackageReference and packages.config are supported, with PackageReference required for SDK-style projects. Restore can check configured vulnerability sources and report warnings. NuGet is free and the Gallery is open source under Apache 2.0. Signed packages and repository signing help verify package origin and integrity.
Who it suits
NuGet suits .NET library creators and developers consuming dependencies in applications, projects, and build systems. It supports Windows, macOS, Linux, web, and API workflows.
Good to know, and what to watch
- Resolves dependency graphs and records versions
- Supports private feeds and offline installation
- Integrates with Visual Studio and dotnet CLI
- Restore can report vulnerability warnings
- Packages can be digitally signed
- Package uploads are limited to 250 MB
- Published packages generally cannot be deleted
- nuget.exe has limitations outside Windows
The verdict
NuGet provides the package workflow, repository, dependency handling, and tooling expected in .NET development. Its free, open-source Gallery and private-feed options fit both public libraries and controlled internal distribution.
What the maker publishes
- Audit data source
- NuGet.org’s vulnerability database uses the GitHub Advisory Database, and NuGet.org provides a vulnerability-data-only service index. source
- Build integrations
- Package restore can be run with NuGet, the dotnet CLI, MSBuild, Visual Studio, or Azure Pipelines and Azure DevOps Server. source
- CLI tools
- The dotnet CLI and nuget.exe support package creation and consumption; the dotnet CLI is available for .NET Core, .NET Standard, and SDK-style projects targeting .NET Framework. source
- Deletion policy
- NuGet.org generally does not support deleting published packages. source
- Dependency management
- NuGet resolves package dependency graphs and records package identifiers and versions so dependencies can be restored across machines and build servers. source
- Dependency resolution
- Yes source
- Development tools
- NuGet capabilities are available through the dotnet CLI, nuget.exe, Visual Studio, and Visual Studio Code extensions. source
- Downloads
- The downloads page lists a Windows x86 nuget.exe command-line distribution and a Visual Studio 2015 VSIX; it says NuGet 4.x is included with Visual Studio 2017. source
- Gallery license
- The NuGet Gallery is open-source software licensed under Apache 2.0, and the project welcomes community contributions. source
- Intended users
- NuGet provides tools and package hosting for .NET library creators and consumers. source
- Lockfile support
- Yes source
- Offline installation
- Yes source
- Open source
- The NuGet Gallery code is licensed under Apache 2.0, and the project welcomes community contributions. source
- Package contents
- A NuGet package is a .nupkg ZIP file that can contain compiled code, related files, and a descriptive manifest. source
- Package formats
- .nupkg,.snupkg source
- Package gallery
- The NuGet Gallery is the central package repository used by package authors and consumers. source
- Package management formats
- NuGet supports PackageReference and packages.config, and PackageReference is required for .NET SDK-style projects. source
- Package signatures
- NuGet packages can be digitally signed to help verify package integrity and origin, and nuget.org automatically repository-signs uploaded packages. source
- Package size limit
- NuGet.org allows package uploads up to 250 MB and recommends keeping packages under 1 MB when possible. source
- Package workflows
- NuGet defines how .NET packages are created, hosted, and consumed, and provides tools for those roles. source
- Package workflows
- NuGet supports package creation, publishing, installation, updating, and restoring dependencies. source
- Private feeds
- NuGet packages can be hosted privately in the cloud, on a private network, or on a local file system, with access limited to people who can reach the host. source
- Private registry auth
- Yes source
- Purpose
- NuGet is the package manager for .NET; its client tools produce and consume packages, and the NuGet Gallery is a central package repository. source
Checked against the maker's pages on 3 Oct 2026.