How to uninstall Apifox on Mac
Apifox is an API design, debugging and testing app from apifox.com. On first launch it unpacks a helper, ApifoxAppAgent.app, into its data folder and registers it as a login item, and it creates a hidden folder, ~/.apifox-ai-agent-debugger. The data folder is listed but not selected in Mole, and leaving it unticked also leaves the helper and its login item in place, so decide about it before you start. No uninstall page was found on Apifox's site; the steps below come from the installed app and the Homebrew cask. This guide covers the Apple silicon download and the Homebrew cask apifox.
Quit and remove the app
- Sign out in Apifox if you signed in.
- Quit Apifox from its menu or press Command + Q. In the test it ran 16 processes using about 1.09 GB, which Mole's Status page groups into one Apifox row.
- Open Activity Monitor and search for
ApifoxAppAgent. The helper runs on its own; select it and quit it if it is still listed. - Open System Settings › General › Login Items & Extensions and switch off
ApifoxAppAgentif you are removing everything by hand. - Open Finder, go to Applications and drag Apifox to the Trash.
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 |
|---|---|---|
~/Library/Application Support/apifox |
The Electron data folder: sign-in cookies, local storage, settings, and the unpacked ApifoxAppAgent.app helper |
Remove it to take the helper and its login item with the app. Mole lists the folder for review and selects only the cache folders inside it. |
~/Library/Application Support/apifox/blob_storage, Cache, Code Cache, DawnGraphiteCache, DawnWebGPUCache, GPUCache, logs |
Chromium caches and logs | Remove. Selected by default. |
~/.apifox-ai-agent-debugger |
settings.json and a default working directory for the AI agent debugger |
Remove once you no longer need anything you saved there. Mole lists it for review and does not select it. |
~/Library/Preferences/cn.apifox.app.plist |
Preferences | Remove. Selected by default. |
~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/cn.apifox.app.sfl4 |
The app's recent-documents list | Remove. Selected by default. |
Temporary caches for cn.apifox.app and cn.apifox.app.helper.GPU sit in your per-user cache folder (getconf DARWIN_USER_CACHE_DIR prints it), and Mole removes them with the app.
Check the result
pgrep -il apifox
ls -ld "$HOME/Library/Application Support/apifox" "$HOME/.apifox-ai-agent-debugger" "$HOME/Library/Preferences/cn.apifox.app.plist"
- No output from
pgrepmeans neither Apifox nor its agent is running. A line namingApifoxAppAgentmeans the helper is still alive; quit it in Activity Monitor. - A path printed by
lsstill exists.No such file or directorymeans the path is gone. - Open System Settings › General › Login Items & Extensions and check that
ApifoxAppAgentis gone. If it is still there and you kept theapifoxfolder, switch it off by hand.
If you installed it with Homebrew
brew uninstall --cask apifox
The cask has no uninstall step, so this removes the app only and leaves the helper and its login item. Its zap list names ~/.apifox-ai-agent-debugger, ~/Library/Application Support/apifox, the recent-documents list, the preferences file and the saved window state. Running brew uninstall --cask --zap apifox removes that whole list and does not read Mole's checkboxes. Mole adds --zap only when every zap path is inside ~/Library; ~/.apifox-ai-agent-debugger is not, so Mole never runs this cask's zap and removes the rows you selected itself.
Account
Removing the app does not close your Apifox account or its team workspaces.
What Mole lists
Mole selects the app, the preferences file, the recent-documents list, the seven folders inside apifox listed above and the temporary caches. It lists ~/Library/Application Support/apifox and ~/.apifox-ai-agent-debugger for review without selecting them. When the apifox folder is removed, the agent goes with it and Mole deletes the login item that no longer points at an app.
These defaults assume “Remove data and settings with apps” in General › Cleaning is off. With it on, Mole also ticks the apifox folder, but ~/.apifox-ai-agent-debugger stays unticked: it comes from the cask's zap list, sits outside ~/Library and is not named after the app, so you have to tick it yourself.
What this test covered
On October 20, 2026, the test downloaded Apifox 2.8.51 for Apple silicon from the address the Homebrew cask uses, copied it to Applications without running brew install, opened it past the Gatekeeper prompt without signing in, and removed it with a source-built Mole with every review row ticked. On first launch the app unpacked ApifoxAppAgent.app into its data folder and registered it as a login item. Mole moved 13 rows and the app to the Trash, ~/.apifox-ai-agent-debugger included. The agent was stopped from its path in the Trash and Mole removed the ApifoxAppAgent login item; nothing was left. Status showed one Apifox row with 16 processes. The app ships an Electron update feed; no update was run. A signed-in account, the default case with the apifox folder left unticked, a Homebrew-managed uninstall and Mole's notarized release build were not tested.
