Turn off Apple Intelligence on macOS 27 and get its disk space back

Turn off Apple Intelligence on macOS 27 and get its disk space back

在 macOS 27 上关闭 Apple Intelligence 并释放磁盘空间

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 可以在 macOS 27 上关闭 Apple Intelligence 并移除其已下载的模型。macOS 27 不再提供单一的 Apple Intelligence 开关,即使关闭相关功能,模型文件仍会保留在磁盘上。RemoveMacAI 可以关闭这些功能、移除模型并阻止 macOS 再次下载它们。所有更改均可撤销。

Demo video

演示视频

Install curl -fsSL https://raw.githubusercontent.com/omlahore/RemoveMacAI/main/install.sh | bash 安装 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 该脚本会下载最新版本,验证其 SHA-256 校验和,并从临时目录运行。它不会安装任何内容。每个版本均由 GitHub Actions 从标签构建,并带有构建来源证明。若要验证下载文件是否来自此存储库的源,请运行: gh attestation verify removemacai-darwin-arm64.tar.gz -R omlahore/RemoveMacAI

With Homebrew: brew install omlahore/tap/removemacai removemacai 使用 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. RemoveMacAI 会显示当前状态并请求确认。随后它会打开“系统设置”以安装配置文件(macOS 要求用户手动批准),并移除相关模型。

Usage

使用方法

CommandDescription
removemacaiShow the current state, then turn Apple Intelligence off
removemacai statusShow each feature and the size of the models on disk
removemacai off —keep Leave the listed features on
removemacai off —dry-runShow the changes without applying them
removemacai revertUndo all changes
removemacai featuresList the feature names accepted by —keep
命令描述
removemacai显示当前状态,然后关闭 Apple Intelligence
removemacai status显示各项功能及其在磁盘上占用的模型大小
removemacai off —keep 保留指定的功能
removemacai off —dry-run仅显示更改而不实际执行
removemacai revert撤销所有更改
removemacai features列出 —keep 可接受的功能名称

To revert with the one-line installer: curl -fsSL https://raw.githubusercontent.com/omlahore/RemoveMacAI/main/install.sh | bash -s revert 若要通过单行安装程序进行撤销: curl -fsSL https://raw.githubusercontent.com/omlahore/RemoveMacAI/main/install.sh | bash -s revert

What it changes

更改内容

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. 关闭的功能:Siri(包括“嘿 Siri”和菜单栏图标)、写作工具、Genmoji、图像游乐场 (Image Playground)、ChatGPT 扩展、邮件、信息、Safari、备忘录和通知中的摘要、邮件智能回复、行内文本预测、空间照片、照片清理以及 Xcode 预测代码补全。

Models removed: the Apple Intelligence foundation models and the models for image generation and Genmoji, Spatial Photos, Photos Clean Up and Xcode code completion. 移除的模型:Apple Intelligence 基础模型,以及用于图像生成、Genmoji、空间照片、照片清理和 Xcode 代码补全的模型。

How it works

工作原理

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. 配置文件会应用 Apple 的 Apple Intelligence 限制键,并强制执行没有限制键的设置。模型通过 Apple 的资源服务 (asset service) 移除。系统完整性保护 (SIP) 保持启用,且不会直接修改 /System 下的任何文件。该配置文件会将每个已移除模型的下载请求重定向到一个关闭的本地端口,从而阻止 macOS 再次下载。移除配置文件即可恢复之前的设置。当功能需要时,macOS 会重新下载这些模型。RemoveMacAI 不会发起任何网络请求,也不会收集任何数据。

FAQ

常见问题

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. macOS 更新会撤销这些更改吗? 不会。配置文件(包括下载拦截)在更新后依然有效。

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. 删除模型后,存储设置中仍显示 Apple Intelligence。 Apple 的资源服务会立即释放模型,但 macOS 会按照自己的计划删除文件。在此之前,“系统设置” > “通用” > “存储空间”仍会将它们计入 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. 为什么名为 Siri 的进程仍在运行? 在 macOS 27 中,聚焦搜索 (Spotlight) 窗口作为名为 Siri 的进程运行。一些系统服务也会保持加载状态;它们受到系统完整性保护的保护。

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 设备端模型的应用(Foundation Models 框架和快捷指令中的“使用模型”操作)、视觉智能以及日历中的自然语言编辑。

Requirements

系统要求

Apple silicon. macOS 27 Supported, tested on 27.0. On 27.0.1, use 0.2.3 or later. 26 and earlier Not supported Apple 芯片。 macOS 27:支持,已在 27.0 上测试。在 27.0.1 上,请使用 0.2.3 或更高版本。 26 及更早版本:不支持。

Uninstall

卸载

Run removemacai revert, then brew uninstall removemacai if it was installed with Homebrew. 运行 removemacai revert,如果通过 Homebrew 安装,则运行 brew uninstall removemacai。

Acknowledgements

致谢

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. RemoveMacAI 基于 4evy 开发的完整工具 pared 构建,该工具率先映射了资源服务、模型集以及多个设置键。其许可证位于 THIRD-PARTY-NOTICES.md 中。

License

许可证

MIT