How to completely uninstall OpenCode on Mac
AI coding agent desktop client. Dragging OpenCode to the Trash removes the app — not the parts below.
Parts
- OpenCode.app×1
- ~/Library/Application Support×2
- ~/Library/Caches×1
- ~/Library/HTTPStorages×1
- ~/Library/Logs×1
- ~/Library/Preferences×1
- ~/Library/Saved Application State×1
- ~/Library/WebKit×1
- Bundle ID
ai.opencode.desktopInferred from a Homebrew cask zap path (~/Library/Caches/ai.opencode.desktop). Confirm:osascript -e 'id of app "OpenCode"'- Source
- Homebrew cask “opencode-desktop”, checked 2026-10-13
-
Quit OpenCode
Press Command-Q in OpenCode.
-
Check Activity Monitor
Open Activity Monitor (Applications › Utilities). Search “OpenCode”. Quit anything still running.
-
Check login items
System Settings › General › Login Items & Extensions. Remove OpenCode if it’s listed.
-
Drag OpenCode.app to the Trash
/Applications/OpenCode.app
-
Remove leftovers in your Library
In Finder press Shift-Command-G, paste a path, press Return. Move what you find to the Trash. Not every Mac has every one.
*= “anything here”.~/Library/Application Support/ai.opencode.desktop
~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/ai.opencode.desktop.sfl*
~/Library/Caches/ai.opencode.desktop
~/Library/HTTPStorages/ai.opencode.desktop
~/Library/Logs/ai.opencode.desktop
~/Library/Preferences/ai.opencode.desktop.plist
~/Library/Saved Application State/ai.opencode.desktop.savedState
~/Library/WebKit/ai.opencode.desktop
Source, checked 2026-10-13.
-
Check the typical locations
Typical locations — check if present. These follow macOS naming conventions; not confirmed for OpenCode.
~/Library/Containers/ai.opencode.desktop
-
Search for anything else
Lists anything in your Library with its name. Deletes nothing.
find ~/Library -maxdepth 3 -iname "*ai.opencode.desktop*" 2>/dev/null
-
Empty the Trash and restart
Then rescan your Mac Score to see the change.
What are these folders? ~/Library/Application Support · ~/Library/Caches · ~/Library/HTTPStorages · ~/Library/Logs · ~/Library/Preferences · ~/Library/Saved Application State · ~/Library/WebKit
Sources
- Homebrew cask definition for OpenCode —
zap+uninstalllists. Checked 2026-10-13. - OpenCode official site
Paths marked “typical location” are conventions, not confirmed. Discuss OpenCode — the best answers get folded into this manual.