pkg.soopen package index

brew / 排名 367

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dotnet可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本10.0.302
管理器更新时间2026-07-16
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:dotnet
版本10.0.302
软件包管理器Homebrew
主页https://dotnet.microsoft.com/
仓库https://github.com/dotnet/dotnet
最后更新2026-07-16T05:27:50Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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','dispcalgui.install'

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation