# 安装 dotnet@8

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dotnet@8
```

  证据: local Homebrew formula metadata

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install dotnet8
```

  证据: Ubuntu 24.04 LTS package indexes: dotnet8 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

### Windows

- Chocolatey (92%):

```sh
choco install dotnet
```

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

## 软件包事实

- **软件包键:** brew:dotnet@8
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dotnet@8>
- **版本:** 8.0.127
- **来源摘要:** .NET Core
- **主页:** <https://dotnet.microsoft.com/>
- **仓库:** <https://github.com/dotnet/dotnet>
- **上游文档:** <https://dotnet.microsoft.com/>
- **许可证:** MIT
- **源码归档:** <https://github.com/dotnet/dotnet/archive/refs/tags/v8.0.127.tar.gz>
- **更新:** 2026-05-24T12:35:29Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 依赖

- icu4c@78
- openssl@3

## 构建依赖

- cmake
- grep
- pkgconf

## macOS 提供的库

- krb5

## 安装行为

- post-install 钩子: 未定义
- Caveats: For other software to find dotnet you may need to set: export DOTNET_ROOT="$HOMEBREW_PREFIX/opt/dotnet@8/libexec"
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 8.0.127
- 管理器更新时间: 2026-05-24
- 本地数据: ok
- 上游仓库: https://github.com/dotnet/dotnet
- 检测到的最新版本: v8.0.127 (current)

## 安全说明

no executable entrypoint in the package index.

- **Geiger 风险:** green / low
- no executable entrypoint in the package index

## 相关链接

- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [icu4c@78](https://www.automicvault.com/pkg/brew/icu4c-78/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [grep](https://www.automicvault.com/pkg/brew/grep/) - Build dependency declared by Homebrew.
- [sbom-tool](https://www.automicvault.com/pkg/brew/sbom-tool/) - Popular package that depends on this formula.
- [dafny](https://www.automicvault.com/pkg/brew/dafny/) - Popular package that depends on this formula.
- [dotnet](https://www.automicvault.com/pkg/brew/dotnet/) - Package name indicates the same formula family.
- [dotnet@9](https://www.automicvault.com/pkg/brew/dotnet-9/) - Package name indicates the same formula family.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
