Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey 安装 dotnet

查看 dotnet 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dotnet

local Homebrew formula metadata

概览

软件包摘要

.NET Core

命令和别名

  • dotnet

历史

项目历史与用法

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

时间线

  • 2014: Microsoft announced .NET Core would be open source.
  • 2016: .NET Core 1.0 was released.
  • 2020: .NET 5.0 started the unified post-Core naming line.
  • 2023: .NET 8.0 shipped as an LTS release.
  • 2024: .NET 9.0 shipped as an STS release.
  • 2025: .NET 10.0 shipped as an LTS release.

Related projects

  • C#
  • F#
  • ASP.NET Core
  • NuGet
  • MSBuild
  • Entity Framework Core

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 5 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dotnetcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本10.0.301
管理器更新时间2026-06-14
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namedotnet
Aliases
  • dotnet@10
Version Scheme1
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Chocolatey95%

dotnet

choco install dotnet
  • normalized package name match
  • 匹配方式:Dotnet
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: dotnet from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dnspy'

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment