# 使用 Homebrew, chocolatey 安装 dotnet@10

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

## 安装

```sh
sudo av install brew:dotnet@10
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dotnet@10
```

  证据: local Homebrew formula metadata

### Windows

- Chocolatey (92%):

```sh
choco install dotnet
```

  证据: Chocolatey community package catalog: dotnet from https://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dispcalgui.install'

## 软件包事实

- **软件包键:** brew:dotnet@10
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dotnet@10>
- **版本:** 10.0.404
- **来源摘要:** .NET Core
- **主页:** <https://dotnet.microsoft.com/>
- **仓库:** <https://github.com/dotnet/dotnet>
- **上游文档:** <https://dotnet.microsoft.com/>
- **许可证:** MIT
- **源码归档:** <https://github.com/dotnet/dotnet/releases/download/v10.0.404/release.json>
- **最后更新:** 2026-11-11T02:39:01Z
- **已生成:** 2026-11-22T07:52:54+00:00

## 依赖

- brotli
- icu4c@79
- openssl@4

## 构建依赖

- bash
- cmake
- grep
- pkgconf
- rapidjson

## macOS 提供的库

- krb5

## 安装行为

- post-install 钩子: 未定义
- 注意事项: For other software to find dotnet you may need to set: export DOTNET_ROOT="$HOMEBREW_PREFIX/opt/dotnet@10/libexec"
- Bottle: 可用 于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-11-22
- 管理器版本: 10.0.404
- 管理器更新时间: 2026-11-11
- 本地数据: OK
- 上游仓库: https://github.com/dotnet/dotnet
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

.NET 10 is the Long Term Support generation of Microsoft's cross-platform managed runtime, SDK, libraries, and command-line toolchain. The Homebrew formula supplies the dotnet host used to create, restore, build, test, run, and publish applications.

### 项目历史

Microsoft announced that .NET Core would be open source in 2014. .NET Core 1.0 followed in 2016 as a cross-platform runtime and development platform, and .NET 5 began the unified post-Core naming line in 2020.

Microsoft now releases a major .NET generation each November under either Long Term Support or Standard Term Support. .NET 10 was released in November 2025 as an LTS generation.

### 采用历史

Modern .NET expanded Microsoft's managed-development ecosystem beyond the Windows-only .NET Framework model. Official downloads, Linux repositories, containers, CI images, and operating-system package managers now distribute the SDK and runtimes, making the dotnet command a common cross-platform automation primitive.

Versioned packages such as dotnet@10 let workstations and CI systems retain a particular SDK generation while Microsoft's annual release train moves onward. .NET 10 is an LTS line, making this formula especially relevant to users who value an extended support window.

### 使用方式

Developers use the dotnet CLI to create projects, restore NuGet dependencies, compile applications, run tests, manage workloads and tools, and produce deployment artifacts. A global.json file can select an SDK version for a working tree.

The versioned Homebrew formula is useful on developer machines and build agents whose projects must remain on the .NET 10 SDK line rather than automatically adopting the newest major SDK.

### 为什么软件包爱好者会关心

For package maintainers, .NET is unusual because one host fronts an SDK, multiple runtimes, workload packs, templates, MSBuild, and NuGet integration. Correct packaging must preserve side-by-side SDK discovery and the runtime's architecture-specific layout.

The versioned formula expresses .NET's support lifecycle directly in package-manager form. global.json provides the corresponding project-level mechanism for selecting an SDK and controlling roll-forward behavior.

### 时间线

- 2014: Microsoft announced that .NET Core would be open source.
- 2016: .NET Core 1.0 was released.
- 2020: .NET 5 began the unified .NET naming line.
- 2025: .NET 10 was released as an LTS generation.

### Related projects

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

### 来源

- <https://devblogs.microsoft.com/dotnet/net-core-is-open-source/>
- <https://github.com/dotnet/core/blob/main/releases.md>
- <https://learn.microsoft.com/dotnet/core/tools/>
- <https://learn.microsoft.com/dotnet/core/tools/global-json>


## 安全说明

没有找到 dotnet@10 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

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.


## Configuration files

- Unix: <working-directory-or-ancestor>/global.json
- Windows: <working-directory-or-ancestor>/global.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dotnet@10
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## 其他软件包管理器记录

- Chocolatey - dotnet: versioned package alias match | Chocolatey community package catalog: dotnet from https://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dispcalgui.install'


## 相关链接

- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [dotnet](https://pkg.so/zh-hans/brew/dotnet/) - Choose the unversioned formula to follow the current .NET SDK line; choose dotnet@10 when builds specifically require the .NET 10 SDK family.

  来源: <https://github.com/dotnet/core/blob/main/releases.md> · <https://learn.microsoft.com/dotnet/core/tools/global-json>
- [mono](https://pkg.so/zh-hans/brew/mono/) - Choose Mono for applications tied to the older Mono or .NET Framework-compatible runtime ecosystem; choose .NET 10 for Microsoft's actively supported modern cross-platform platform.

  来源: <https://www.mono-project.com/> · <https://dotnet.microsoft.com/>

## Combined YAML source

View the package source record on GitHub. [combined/dotnet@10.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dotnet@10.yml)


## 来源

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
