How to uninstall Cage on Mac
Cage (io.github.lee-xeo.claude-cage) is a macOS desktop app from the Claude-Cage GitHub project that runs AI coding agents inside local Linux virtual machines (Lima). Before removing Cage, export or copy any files, repositories, or configurations you still need out of its virtual machines and ~/.claude-cage. This guide covers the official Apple silicon disk image (Cage-0.1.8-macos-arm64.dmg) from the project's GitHub releases.
Quit and remove the app
- Stop any running virtual machines inside Cage and quit the app completely. In the test, Cage ran three
cagechild processes that exited when Mole quit the app. - Open Finder, go to Applications, and drag Cage to the Trash.
If you also built and installed Cage Client (io.github.lee-xeo.claude-cage-client) from source, keep ~/.claude-cage until you are done with Cage Client, because it writes to ~/.claude-cage/client.
Where the data lives
Press Shift + Command + G in Finder to open each path. Skip any path that is not on your Mac.
| Location | What it holds | What to do |
|---|---|---|
~/.claude-cage |
Cage profile data and Lima VM state (~/.claude-cage/state/lima/<instance>) |
Back up anything you need from the VMs first, then remove. Selected by default unless Cage Client (io.github.lee-xeo.claude-cage-client) is installed. |
~/.claude-cage-downloads |
Downloaded VM image caches (~/.claude-cage-downloads/cache/lima) |
Remove. Selected by default. |
~/Library/Preferences/io.github.lee-xeo.claude-cage.plist |
Preferences | Remove. Selected by default. |
~/Library/Caches/io.github.lee-xeo.claude-cage |
App cache | Remove. Selected by default. |
~/Library/WebKit/io.github.lee-xeo.claude-cage |
Embedded WebKit storage | Remove. Selected by default. |
~/Library/HTTPStorages/io.github.lee-xeo.claude-cage |
Network storage | Remove. Selected by default. |
~/.agent-vm |
Standalone CLI tool directory, not owned by the Cage desktop app | Keep if you use the standalone CLI; Mole does not collect it. |
Check the result
pgrep -il cage
ls -d /Applications/Cage.app "$HOME/.claude-cage" "$HOME/.claude-cage-downloads" "$HOME/Library/Preferences/io.github.lee-xeo.claude-cage.plist" "$HOME/Library/Caches/io.github.lee-xeo.claude-cage"
- No output from
pgrepmeans nocageprocess is running. A printed line means a helper or VM process is still alive; stop it or restart your Mac. - For
ls -d, "No such file or directory" means that path is gone. A printed path is still on disk.
What Mole lists
Mole selects the app bundle, ~/.claude-cage (withheld automatically when Cage Client is installed), ~/.claude-cage-downloads, and the bundle-scoped preferences, caches, WebKit, and HTTPStorages folders under ~/Library. Mole leaves ~/.agent-vm alone because it belongs to the standalone CLI. Before moving files to the Trash, Mole stops Cage and its cage child processes.
What this test covered
On November 21, 2026, on a test Mac, Cage 0.1.8 (Apple silicon, Developer ID signed and notarized) from its GitHub release was launched once and removed with a development build of Mole with all 8 review rows selected. Mole stopped three cage child processes and moved the app plus all 8 rows to the Trash with zero failures. Creating a Lima virtual machine (which downloads a VM image), Status, Startup, and Mole's notarized release build were not tested.
See how Mole’s Mac App Uninstaller scans and removes leftover files safely.
