.NET Runtime
Microsoft · Microsoft’s cross-platform runtime for running .NET applications on macOS, without the SDK tools used to develop and build them.
- 近 30 天安裝
- 325
- App榜第 461
- 近一年安裝
- 6475
- 365 天累計
- 最新版本
- 10.0.13
- 10月13日 · 10月13日
- 下載大小
- 32MB
- arm64 / x86_64 · pkg
- 更新節奏
- 每月
- 近 30 天 2 個版本
.NET Runtime 是一款程式語言與執行環境類 Mac 軟體。開發者是 Microsoft。
基本資訊
- 晶片
- Apple 晶片 · Intel
- 系統版本
- macOS 12 起
- 開發者
- Microsoft
- 安裝命令
brew install --cask dotnet-runtime- Homebrew
- 可以安裝,由 Homebrew 更新
- 其他名稱
- .Net Runtime, dotnet, dotnet-runtime
以上資訊最早核查於 。檢視各項來源
介紹
.NET Runtime provides the execution environment for applications targeting .NET. This Homebrew cask installs Microsoft’s standard .NET runtime on macOS, not a standalone graphical application or the complete development SDK.
Choosing the right installation
The official installation guide distinguishes the standard .NET Runtime, which runs console applications, from ASP.NET Core Runtime for web applications and the SDK for development. Installing the SDK also supplies runtimes, but this runtime-only package does not provide the SDK build tools. Choose a runtime version compatible with the application you need to run; installing one major version does not automatically supply other major versions.
macOS installation
Homebrew records version 10.0.12 and provides separate Apple-silicon arm64 and Intel x64 PKG installers. This exact cask installs the Microsoft package and exposes the dotnet executable through a Homebrew symlink. It conflicts with the separately packaged SDK and preview casks. Consult Microsoft’s supported operating-system table for the chosen .NET version rather than treating Homebrew’s minimum OS metadata as a support guarantee.
Checking the installation
Use dotnet --list-runtimes to inspect installed runtime versions. If an application reports a missing framework, confirm that its required runtime version and processor architecture are installed. The upstream dotnet/runtime repository contains the runtime source and engineering documentation; source-build prerequisites are separate from requirements for using the installer.
Sources
系統要求
| macOS | 應用版本 | 晶片 | 下載 | 來源 |
|---|---|---|---|---|
| macOS 12 起 | 10.0.13 | Intel | builds.dotnet.microsoft.com/dotnet/Runtime/10.0.13/dotnet-runtime-10.0.13-osx-x64.pkgSHA-256 11603dd6ca6d5474fb06d73482308221e0961bb0c685c72ce698fd7642c32f49 | Homebrew核查於 |
| macOS 12 起 | 10.0.13 | Apple 晶片 | builds.dotnet.microsoft.com/dotnet/Runtime/10.0.13/dotnet-runtime-10.0.13-osx-arm64.pkgSHA-256 8ca1d6ffaf20122cdc76fae92314e65404ab3c07dc01f5b677b16db2d3779554 | Homebrew核查於 |
如何在 Mac 上安裝 .NET Runtime
- 在「終端機」中執行:
brew install --cask dotnet-runtime - Homebrew 會執行安裝檔 dotnet-runtime-10.0.13-osx-arm64.pkg,需要輸入管理員密碼。
解除安裝 .NET Runtime 與可選的資料清理
brew uninstall --cask dotnet-runtime普通解除安裝會刪除應用本身,設定和快取會保留。
解除安裝時還會處理
- 安裝檔收據(pkgutil)
com.microsoft.dotnet.*- 檔案和資料夾
/etc/paths.d/dotnet
深度清理(可選)
brew uninstall --zap --cask dotnet-runtime--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。
.NET Runtime 可能留在 Mac 上的檔案(1)
- 檔案和資料夾
~/.nuget
以上條目來自 Homebrew 定義,核查於 ;它們只說明定義宣告會刪除什麼,不代表你的 Mac 上都有。
10.0.13 更新內容
新版本 · OpenNavo 編輯
這個版本沒有單獨的更新說明。
.NET Runtime 的安全事實
這裡只列可以核驗的事實,並註明來源和日期,不是安全認證。要檢查你下載的檔案,可以用 OpenNavo 在本機掃描。
- 分發渠道
- Homebrew
- 是否開源
- 是 · github.com/dotnet/runtime · MIT核查於
依賴與衝突
安裝細節
- 來源倉庫
- homebrew/cask
- 曾用 token
- dotnet
- 安裝檔
- dotnet-runtime-10.0.13-osx-arm64.pkg
- 附帶命令
- dotnet
- 下載網址
- https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.13/dotnet-runtime-10.0.13-osx-arm64.pkg
- SHA-256
- 8ca1d6ffaf20122cdc76fae92314e65404ab3c07dc01f5b677b16db2d3779554
- Homebrew 定義檔案
- github.com/homebrew/homebrew-cask/blob/HEAD/Casks/d/dotnet-runtime.rb
- formulae.brew.sh
- formulae.brew.sh/cask/dotnet-runtime
- 原始碼
- github.com/dotnet/runtime
安裝與解除安裝內容
解除安裝
uninstall檢視完整宣告
{ "uninstall": [ { "delete": "/
etc/ "pkgutil": "com.paths. d/ dotnet", microsoft. } ] }dotnet. *" 安裝
pkg來源檔案: dotnet-runtime-10.
0. 13-osx-arm64. pkg 檢視完整宣告
{ "pkg": [ "dotnet-runtime-10.
0. ] }13-osx-arm64. pkg" 安裝
binary來源檔案: /
usr/ local/ share/ dotnet/ dotnet 宣告的目標位置: $HOMEBREW_PREFIX/
bin/ dotnet 檢視完整宣告
{ "binary": [ "/
usr/ ], "target": "$HOMEBREW_PREFIX/local/ share/ dotnet/ dotnet" bin/ }dotnet" 清理使用者資料
zap檢視完整宣告
{ "zap": [ { "trash": "~/
. } ] }nuget"
關於 .NET Runtime 的常見問題
.NET Runtime 安全嗎?
.NET Runtime 收錄在 Homebrew 官方軟體庫中,沒有被停用。自 2026 年 9 月起,Homebrew 會停用沒有通過 macOS Gatekeeper 檢查的應用。安裝時,Homebrew 會用 SHA-256 校驗值核對來自 builds.dotnet.microsoft.com 的安裝檔。過去 30 天,它透過 Homebrew 安裝了 325 次。
.NET Runtime 是開源軟體嗎?
.NET Runtime 的原始碼公開在 GitHub 上(dotnet/runtime),使用 MIT 授權。
如何在 Mac 上徹底解除安裝 .NET Runtime?
執行 brew uninstall --cask dotnet-runtime。它會清除 1 條安裝記錄。要連設定和快取一起刪除,執行 brew uninstall --zap --cask dotnet-runtime。--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。這會同時刪除 ~/。
.NET Runtime 支援 Apple 晶片(M1 及更新)的 Mac 嗎?
支援。Homebrew 會為 Apple 晶片和 Intel 晶片的 Mac 分別下載不同的安裝檔。需要 macOS 12 或更高版本。
.NET Runtime 的設定和資料儲存在哪裡?
資料儲存在 ~/。這些位置來自 Homebrew 的清理清單。
.NET Runtime 的最新版本是多少?
最新版本是 10.0.13,Homebrew 收錄於 10月13日。執行 brew upgrade --cask dotnet-runtime 即可更新。Homebrew 還提供 dotnet-runtime@preview,不能與它同時安裝。
安裝 .NET Runtime 還會裝上什麼?
還會裝上 1 個命令列工具:dotnet。它透過 .pkg 安裝器安裝,安裝時需要輸入管理員密碼。它不能和 dotnet-sdk和dotnet-sdk@preview 同時安裝。
來源
頁面上的每項資料都註明來源和核查日期;過期的資料只寫「截至」某日,不再當作當前事實。
- Homebrew 定義:github.com/homebrew/homebrew-cask/blob/HEAD/Casks/d/dotnet-runtime.rb · 核查於
- formulae.brew.sh:formulae.brew.sh/cask/dotnet-runtime
- 安全事實:github.com/dotnet/runtime · 核查於