Skip to main content
← Back to Blog
2026-10-08 · 6 min readDev ToolsUpdated Oct 20, 2026

RemoveMacAI: remove Apple Intelligence on macOS 27

A Swift CLI by omlahore that disables Apple Intelligence daemons, clears cached on-device models and returns the disk space — with an undo line printed before it exits.

Avnish Yadav
Avnish Yadav
Developer & Automation Builder
14 views
RemoveMacAI: remove Apple Intelligence on macOS 27

Apple Intelligence can hold roughly 10GB of disk on a Mac that never asked for it. RemoveMacAI is a Swift CLI by omlahore that turns Apple Intelligence off on macOS 27 and returns that space. It's MIT licensed, fully reversible, and it prints the undo line before it exits.

What RemoveMacAI actually removes

Card listing the three things RemoveMacAI changes on macOS 27

RemoveMacAI is a command-line tool written in Swift. The repo description puts it plainly: "Turn off Apple Intelligence on macOS 27 and get its disk space back. One command, fully reversible." One command with sudo does three things:

  • disables the Apple Intelligence daemons
  • clears the cached on-device models
  • returns the disk space those models were holding

Nothing else on the system gets touched. That narrow scope is the point — it isn't a general macOS debloat script with a long list of tweaks. It targets Apple Intelligence specifically and leaves the rest of the install alone. No background agent, no login item, no extra layer sitting on top of the system.

The narrow scope is also what makes the tool reviewable. A broad debloat script asks you to trust a long list of changes at once; a tool with three named actions is a much shorter thing to read before you type a password. The full change surface fits in the repo description.

There's a difference between a script that removes a list of files and a script that removes a category of things. The first can be audited line by line. The second is a policy you either trust or you don't. RemoveMacAI names its target — Apple Intelligence — and the three steps above are the whole job, which puts it closer to the first kind.

The project lives at omlahore/RemoveMacAI on GitHub, tagged with topics like apple-intelligence, cli, debloat, macos, macos-27, privacy, siri and swift.

The RemoveMacAI repository page

Why the space is worth reclaiming

Apple Intelligence ships on-device models that sit on your disk whether or not you use the features. If you never turn them on, that's storage you're paying for and not using. Those files aren't a normal app you can drag to the Trash — the models and the daemons that load them aren't exposed that way, which is exactly why a CLI for this exists at all.

The arithmetic is familiar to anyone who has run models locally: weights are big files, and big files are the first thing to audit when a drive fills up. If you've downloaded open-weight models to run on your own machine, you already know how quietly a few gigabytes disappear. Apple Intelligence is the same arithmetic with one difference — the models arrive with the OS, and there's no model manager sitting in front of them to prune.

There's a privacy angle too. If you don't want the feature running, "off" should mean off, and on-device models are a large part of what Apple Intelligence actually is. macOS settings can disable parts of the feature; RemoveMacAI also clears the cached models, and that's where the disk space comes back from. Those are two different end states — a toggle and a deletion — and the tool is aimed at the second one.

That distinction is worth sitting with before running anything with sudo. A toggle is meant to be flipped back; a deletion is a state you have to actively reverse. Knowing which of the two you're choosing is most of the decision.

Overview of the tool

Clone and build

Terminal card showing the three commands that clone and build RemoveMacAI

You'll need the Swift toolchain on the machine. Three commands get you a binary:

git clone https://github.com/omlahore/RemoveMacAI.git
cd RemoveMacAI
swift build -c release

Then run the built binary with sudo — the README shows the exact one-line invocation. Before it changes anything, the tool lists exactly what it is going to remove, so you can read the list first and decide whether to continue.

Building from source is the low-drama path for anything that takes sudo. A prebuilt binary is faster, but it gives up the main advantage here: MIT-licensed Swift you can read end to end before it touches the system. The clone is small, the build is one command, and what you end up running is a binary you compiled yourself from source you can inspect.

If you already treat AI tooling as something to configure deliberately rather than accept by default — the practical guide to ChatGPT for developers is written in that spirit — the same habit transfers to features that arrive with the operating system rather than with a download.

Also read what the tool prints before it acts. The removal list is the contract. If the list matches what you expect, continue; if it doesn't, stop there and close the terminal.

The undo line

Illustration of model files being lifted off a laptop above a glowing safety net

This is the part most debloat scripts skip. RemoveMacAI prints the undo line before it exits. Reversal becomes a copy-paste instead of a hunt through deleted files or a search through the issue tracker for a restore script. "Fully reversible" is in the repo description — printing the undo command is how that claim becomes checkable instead of a promise.

If you're going to hand sudo to something that removes cached system models, "what does the undo look like?" is the first question worth asking. This tool answers it up front, on screen, before it does anything. Copy the line somewhere before you close the terminal — a printed command that scrolls out of your buffer isn't an undo path anymore.

Treat that line as a statement about this tool's changes only. Read what it says it reverses rather than assuming it covers anything else on the machine.

Project status

Six days after launch the repo sits at 1,423 stars and 27 forks. It's written in Swift, licensed MIT, and the most recent push is dated 2026-10-05. MIT means the source is right there to read before you run it — which, for a CLI that asks for sudo, is worth doing.

Official links: github.com/omlahore/RemoveMacAI and github.com/RemoveMacAI.

For a tool this small, the star count is less interesting than the shape of the project: one job, one command, one undo line, and a license that lets you verify all three.

  • RemoveMacAI is a Swift CLI by omlahore that strips Apple Intelligence out of macOS 27.
  • One command with sudo disables the Intelligence daemons, clears cached on-device models, and returns the space they were holding.
  • Nothing else on the system gets touched.
  • It lists exactly what it removes and prints the undo line before exiting, so it's fully reversible.
  • 1,423 stars in six days, 27 forks, MIT licensed, Swift.
  • Repo: omlahore/RemoveMacAI
PDF

Get the cheat sheet (PDF)

RemoveMacAI: strip Apple Intelligence on macOS 27

Enter your email and I'll send you the link.

I store your email, what you agreed to and the request. Privacy

All 6 parts in this series
Share
Discussion

Comments

Loading comments...

Add a comment

Comments are reviewed before they appear.