macOS
brew install dotnetlocal Homebrew formula metadata
安装
brew install dotnetlocal Homebrew formula metadata
choco install dotnetChocolatey community package catalog · dotnet · 来源: community.chocolatey.org
概览
.NET Core
历史
.NET is Microsoft's managed runtime, SDK, class-library, and command-line toolchain for building applications in C#, F#, and related languages. The Homebrew formula centers on the `dotnet` host and SDK/runtime distribution used from terminals, CI systems, containers, and editors.
Modern .NET package history turns on the .NET Core shift. Microsoft announced in November 2014 that .NET Core, including the runtime and framework libraries, would be open source. .NET Core 1.0 shipped in June 2016 as a cross-platform line, and the release train later converged under the plain .NET name with .NET 5 in November 2020.
The current .NET ecosystem is organized around annual November major releases, split between Long Term Support and Standard Term Support versions. Official release metadata lists .NET 8 as an LTS release from November 2023, .NET 9 as an STS release from November 2024, and .NET 10 as an LTS release from November 2025.
Adoption expanded from Windows-centered .NET Framework development into a cross-platform package-manager story: official downloads, Linux package repositories, container images, Homebrew, Chocolatey, and CI images all distribute the SDK and runtimes. That made `dotnet restore`, `dotnet build`, `dotnet test`, and `dotnet publish` common automation primitives outside Visual Studio.
Developers use the `dotnet` CLI to create projects, restore NuGet packages, build, run, test, publish, manage workloads, and select SDK behavior through project files and global.json. It is both a language-runtime package and a build tool package.
For package nerds, .NET is important because it packages a large multi-runtime ecosystem behind one executable host. Versioned formulas such as dotnet@8 and dotnet@9 let systems pin SDK support windows, while the unversioned formula tracks the moving supported line used by workstations and CI images.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dotnet | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/dotnet/dotnet
安装元数据
| 软件包键 | brew:dotnet |
|---|---|
| 版本 | 10.0.301 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dotnet |
| 主页 | https://dotnet.microsoft.com/ |
| 仓库 | https://github.com/dotnet/dotnet |
| 上游文档 | https://learn.microsoft.com/dotnet |
| 许可证 | MIT |
| 源码归档 | https://github.com/dotnet/dotnet/releases/download/v10.0.301/release.json |
| 最后更新 | 2026-06-14T10:38:54Z |
| Pulse | updated |
| 依赖 | brotli, icu4c@78, openssl@3 |
| 构建依赖 | bash, cmake, grep, pkgconf, rapidjson |
| macOS 提供的库 | krb5 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | For other software to find dotnet you may need to set: export DOTNET_ROOT="$HOMEBREW_PREFIX/opt/dotnet/libexec" |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dotnet |
| Aliases |
|
| Version Scheme | 1 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
dotnet
choco install dotnet来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.