移除并禁用 Apple macOS 27 AI 模型工具
Turn off Apple Intelligence on macOS 27 and get its disk space back

原始链接: https://github.com/omlahore/RemoveMacAI

RemoveMacAI 是一款采用 MIT 许可证的工具,适用于运行 macOS 27 的苹果芯片 Mac。它会禁用 Apple Intelligence 功能、移除已下载的模型,并使用配置描述文件阻止 macOS 再次下载这些模型。Siri、写作工具、Genmoji、图像 Playground、ChatGPT 集成、智能回复、摘要、视觉智能、预测文本和 Xcode AI 功能可能会停止工作。语音听写仍可使用。 系统完整性保护(SIP)会保持启用。该工具不会修改 `/System` 中的文件,也不会发起网络请求或收集数据。在 macOS 删除这些文件之前,已删除模型占用的存储空间可能仍会显示在列表中。受 SIP 保护的 Siri 进程也可能仍然可见。 通过 Homebrew 安装: ```bash brew install omlahore/tap/removemacai ``` 或者运行带有校验和验证的安装程序: ```bash curl -fsSL https://raw.githubusercontent.com/omlahore/RemoveMacAI/main/install.sh | bash ``` 可使用 `removemacai status`、`off`、`off --keep `、`off --dry-run`、`features` 和 `revert`。所有更改都可以通过 `removemacai revert` 撤销。macOS 27.0.1 需要使用 0.2.3 或更高版本;不支持 macOS 26 及更早版本。

一则 Hacker News 帖子分享了一个 GitHub 工具,可移除或禁用 macOS 27 中的苹果 AI 模型。讨论主要围绕通过 `curl | bash` 命令安装软件的风险展开,许多评论者呼吁采用更安全的替代方案,例如 Homebrew。 也有人为盲目运行脚本的便利性辩护,认为现代软件——包括 macOS 本身——过于庞大,无法进行全面检查。另一些人则批评苹果在隐私和安全方面的限制,认为这些限制增加了开发者及智能体工作流的复杂性,而且许多用户无法判断 LLM 生成的命令是否安全。 截至记录时,该帖获得了 30 分和 8 条评论。
相关文章

原文

RemoveMacAI

Turn off Apple Intelligence on macOS 27 and remove its downloaded models.

macOS 27 no longer has a single switch for Apple Intelligence, and its models stay on disk after the features are turned off. RemoveMacAI turns the features off, removes the models and prevents macOS from downloading them again. All changes can be reverted.

RemoveMacAI turning off Apple Intelligence

Demo video

curl -fsSL https://raw.githubusercontent.com/omlahore/RemoveMacAI/main/install.sh | bash

The script downloads the latest release, verifies its SHA-256 checksum and runs it from a temporary directory. Nothing is installed.

Every release is built from its tag by GitHub Actions and carries a build provenance attestation. To check that a download came from this repository's source:

gh attestation verify removemacai-darwin-arm64.tar.gz -R omlahore/RemoveMacAI

With Homebrew:

brew install omlahore/tap/removemacai
removemacai

RemoveMacAI shows the current state and asks for confirmation. It then opens System Settings to install its configuration profile, which macOS requires the user to approve, and removes the models.

Command Description
removemacai Show the current state, then turn Apple Intelligence off
removemacai status Show each feature and the size of the models on disk
removemacai off --keep <features> Leave the listed features on
removemacai off --dry-run Show the changes without applying them
removemacai revert Undo all changes
removemacai features List the feature names accepted by --keep

To revert with the one-line installer:

curl -fsSL https://raw.githubusercontent.com/omlahore/RemoveMacAI/main/install.sh | bash -s revert

Features turned off: Siri (including "Hey Siri" and the menu bar icon), Writing Tools, Genmoji, Image Playground, the ChatGPT extension, summaries in Mail, Messages, Safari, Notes and notifications, Mail smart replies, inline text predictions, Spatial Photos, Photos Clean Up and Xcode predictive code completion.

Models removed: the Apple Intelligence foundation models and the models for image generation and Genmoji, Spatial Photos, Photos Clean Up and Xcode code completion.

Output of removemacai status

  • A configuration profile applies Apple's restriction keys for Apple Intelligence and forces the settings that have no restriction key.
  • Models are removed through Apple's asset service. System Integrity Protection stays enabled and no files under /System are modified directly.
  • The profile redirects the download of each removed model to a closed local port, so macOS does not download it again.
  • Removing the profile restores the previous settings. macOS downloads the models again when a feature needs them.

RemoveMacAI makes no network requests and collects no data.

Does dictation still work? Yes. Dictation is a separate setting, and its speech models are not removed.

Do macOS updates undo the changes? No. The profile, including the download block, persists across updates.

Storage settings still lists Apple Intelligence after the models were deleted. Apple's asset service releases the models right away, but macOS deletes the files on its own schedule. Until then, System Settings > General > Storage keeps counting them under Apple Intelligence.

Why is a process named Siri still running? In macOS 27 the Spotlight window runs as a process named Siri. Some system services also stay loaded; they are protected by System Integrity Protection.

What stops working? The features listed above, apps that use Apple's on-device models (the Foundation Models framework and the Use Model action in Shortcuts), Visual Intelligence and natural-language editing in Calendar.

Apple silicon.

macOS Status
27 Supported, tested on 27.0. On 27.0.1, use 0.2.3 or later.
26 and earlier Not supported

Run removemacai revert, then brew uninstall removemacai if it was installed with Homebrew.

RemoveMacAI is built on pared, a complete working tool by 4evy that first mapped the asset service, the model sets and several of the settings keys. Its license is in THIRD-PARTY-NOTICES.md.

MIT

联系我们 contact @ memedata.com