What it finds
| Folder | Counted when |
|---|---|
node_modules, .next, .nuxt, .svelte-kit, .expo, Pods | Found anywhere in a project |
A project's own .gradle | Holds build state, not the global Gradle cache |
target | Next to a Cargo.toml |
dist | Next to a package.json |
.build | Next to a Package.swift |
A folder named dist or target without its project file is left alone. So is a node_modules that belongs to an installed tool (a global npm under nvm, editor extensions, app data): that is the tool itself, not a project's output.
Xcode DerivedData, __pycache__, .turbo, .parcel-cache and similar caches are offered in the Caches group instead. Global package caches have their own group.
Only idle projects are ticked
A project counts as idle when none of its own files changed in 30 days. Build output, caches and .git are not counted, so a fresh npm install does not make an old project look busy. If the last change can't be read, nothing is ticked.
Each row says when the project was last used. In the group you can change the threshold to 7, 14, 30, 60 or 90 days, and the ticks follow.
The git guard still applies
Before anything moves, the git guard checks it against git. Ignored output like node_modules can go. Anything git tracks, or new files you have not committed, is blocked with the reason shown.
Getting it back
Run npm install, cargo build or pod install and the folder comes back. Or press Undo: the folder comes back from the Trash, as long as the Trash has not been emptied.
Cleaning developer leftovers is part of the optional one-time Pro upgrade inside the app; Free shows every folder and its size. Junk Raccoon itself is free: download it, no account and no ads.
Questions
Is it safe to delete node_modules?
Yes, for a project you are not running right now: npm install brings it back from package.json and the lock file. Junk Raccoon only ticks projects untouched for 30 days by default.
How do I find all node_modules folders on my Mac?
In Terminal, find ~ -name node_modules -type d -prune lists them. Junk Raccoon lists them with their size and when each project was last used.
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


