What it is
MacPorts' installed software.
Can you delete it?
No, not by hand. Deleting by hand breaks installed ports.
How to clean it safely
- Run:
sudo port reclaim
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh "/opt/local" 2>/dev/nullStep-by-step guide: Developer caches on a Mac →
Related folders
- VS Code extensions ·
~/.vscode/extensions - Cursor extensions ·
~/.cursor/extensions - Docker Desktop data ·
~/Library/Containers/com.docker.docker - Rust toolchains ·
~/.rustup/toolchains - Cursor cache ·
~/Library/Application Support/Cursor/Cache - Library (Unity project) ·
<project>/Library
Questions
Is it safe to delete /opt/local?
No, not by hand. Deleting by hand breaks installed ports.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac