凭据访问
Reads NuGet API keys, package source credentials, and config files.
代理安全
nuget manages .NET packages and registry publishing.
Reads NuGet API keys, package source credentials, and config files.
Can push packages and change package-source state.
Can publish .NET packages and symbols.
Gate push, delete, source credential, and API-key commands.
Allow restore/list; require approval for package publication and credential changes.
安装
brew install nugetlocal Homebrew formula metadata
sudo dnf install nugetFedora Rawhide package metadata · nuget · 来源: dl.fedoraproject.org
nix profile install nixpkgs#nugetnixpkgs package indexes · pkgs/by-name/nu/nuget/package.nix · 来源: api.github.com
sudo pacman -S nugetArch Linux sync databases · nuget · 来源: geo.mirror.pkgbuild.com
scoop install main/nugetScoop official bucket manifest trees · bucket/nuget.json · 来源: api.github.com
winget install --id Microsoft.NuGet -eWindows Package Manager source index · Microsoft.NuGet · 来源: cdn.winget.microsoft.com
概览
Package manager for Microsoft development platform including .NET
历史
NuGet is the canonical package manager for the Microsoft .NET ecosystem: a client toolchain, package format, public gallery, and set of repository conventions for creating, publishing, restoring, and consuming .NET libraries.
The project began in 2010 as NuPack in the ASP.NET / Microsoft web tooling orbit. Phil Haack's October 6, 2010 announcement described it as an open source, developer-focused package manager for simplifying third-party library use in .NET applications, and said the Outercurve Foundation had accepted the project into the ASP.NET Open Source Gallery.
The NuPack name was quickly changed. Haack's October 21, 2010 post opened public voting on replacement names, and his October 29, 2010 follow-up announced NuGet as the winner. That rename is part of NuGet lore because it tied the package manager's identity to community input before the project settled into the .NET platform.
NuGet solved a very visible .NET pain point: finding libraries, adding assembly references, putting files in predictable project locations, applying config transforms, and updating dependencies. A November 2011 MSDN Magazine article presented NuGet as the rescue path from manual library download and reference management, and noted that ASP.NET MVC 3 already included it.
NuGet's adoption is structural rather than just CLI popularity. Microsoft Learn describes NuGet packages as .nupkg zip files carrying compiled code, related files, and manifest metadata; package authors publish them to public or private hosts, while consumers add them to projects and call the package functionality from application code. NuGet.org is the central public repository for that workflow.
Homebrew packages the standalone `nuget` command for macOS/Linux users outside Visual Studio. The Homebrew formula showed stable version 7.6.0 and 26,865 installs over the 365-day analytics window visible on July 1, 2026.
Package nerds use NuGet in three overlapping ways: `nuget.exe` for pack/push/restore workflows, Visual Studio's package manager UI and console for project work, and modern SDK/MSBuild restore paths for repeatable CI. The important artifact is the `.nupkg`, whose ID, semantic version, dependencies, target framework assets, metadata, and source repository fields become part of the .NET dependency graph.
Practical usage is not only installing public packages. Organizations run private NuGet feeds for internal libraries, mirror/cache packages for build reproducibility, pin or float versions through project files and lock files, and publish prerelease packages from CI before promoting stable versions to nuget.org or an internal feed.
NuGet is infrastructure for the .NET supply chain. It defines the default package unit, public distribution hub, and restore semantics for a large share of .NET application builds, which makes it comparable in ecosystem role to npm for JavaScript or PyPI/pip for Python.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.nuget/NuGet/NuGet.Config~/.config/NuGet/NuGet.ConfigCredential-bearing paths to review before unattended agent runs.
~/.nuget/NuGet/NuGet.Config~/.config/NuGet/NuGet.Config可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nuget | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:nuget |
|---|---|
| 版本 | 7.6.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nuget |
| 主页 | https://www.nuget.org/ |
| 仓库 | https://github.com/NuGet/NuGet.Client |
| 上游文档 | https://learn.microsoft.com/en-us/nuget |
| 许可证 | MIT |
| 源码归档 | https://dist.nuget.org/win-x86-commandline/v7.6.0/nuget.exe |
| 最后更新 | 2026-05-14T02:59:39Z |
| Pulse | updated |
| 依赖 | mono |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nuget |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
nuget
nix profile install nixpkgs#nugetnuget 2.8.7-24.fc44
Package manager for .Net/Mono development platform
sudo dnf install nugetnuget-devel 2.8.7-24.fc44
Development files for nuget
sudo dnf install nuget-develnuget 6.11.1-1
Package manager for .NET.
sudo pacman -S nugetmain/nuget
scoop install main/nugetMicrosoft.NuGet
winget install --id Microsoft.NuGet -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.