Repository navigation
Developer Cleaner
Desktop application for reclaiming disk space from node_modules folders, build
folders, merged Git worktrees, and shared developer caches.
A new overview-first window
- The overview shows how much space you can reclaim and a disk bar with free space
now and estimated free space after removal - Safest first suggestions let you select low-risk items from a single category
in one click. Costly suggestions or those spanning several kinds open the
relevant list for review - Four cards show the total and largest items for
node_modules, build folders,
merged Git worktrees, and developer caches. Open a card's full list to pick
individual items. On the Build folders page, each tool has its own checkbox
and a note explaining what deleting that kind of folder costs - One review panel gathers everything you selected across screens. If any selected
worktree has uncommitted changes, the acknowledgement stays pinned above the
buttons and you must tick it before you can remove anything - Results appear by category as each scan finishes, with progress estimated from
the last scan of the same folder. Stop ends a running folder scan without
leaving a partial list. Developer caches are scanned at launch - Sizes use a neutral colour, and red highlights uncommitted changes. Sorting
node_modulesby size now uses the space deleting each folder actually frees - The window can now shrink to 900 × 600
Build folders, and a new name (1.8.0)
- Node Modules Cleaner is now Developer Cleaner. Settings carry over. On macOS the
new version installs asDeveloper Cleaner.app, so the oldNode Modules Cleaner.app
can be deleted; on Linux the package is nowdeveloper-cleaner, so remove the old
node-modules-cleanerpackage. On Windows the update replaces the old install - A new Build folders section finds build output and tool caches inside your
projects in the same scan: Rust/Cargotarget, CocoaPodsPods, Next.js.next,
Nx.nx, Turborepo.turbo, Android native.cxx, testcoverageand Expo.expo.
On a folder of about 230 projects that was 31 GB of Pods,.nextand caches, plus
64 GB of Rusttargetfolders - A folder is offered only when the tool that made it left its marks — a
targetneeds
aCargo.tomlbeside it and Cargo'sCACHEDIR.TAGinside,PodsaPodfileand
Manifest.lock,coveragean actual coverage report — and never when Git tracks
anything inside it, so committedPodsand lookalike folders are left alone. The check
runs again right before each delete - Each tool has its own group and checkbox, with what a delete costs (a Rust
target
means a full rebuild and takes release binaries and bundles kept there with it), so
selecting the cheap ones never sweeps in the expensive ones - Removing a worktree with uncommitted changes now takes an explicit second step: the
confirmation lists those worktrees and the remove button stays disabled until you
tick that their changes will be permanently lost
Finding and removing what is really there, with one Remove button (1.7.0)
- Remove Selected now also cleans the developer caches you tick, so the separate
"Clean selected" button is gone. One confirmation lists every category with the total
it frees, and a failure in one category no longer stops the others: the result says,
per category, how many items were removed, how many failed and how much was freed - Every failure now names the path and the reason, and for files owned by another user
thesudocommand to run. Before, a failed delete only said "Check permissions" - A
node_modulesfolder that something else already deleted counts as removed
instead of failing, and removal only ever touches a realnode_modulesdirectory —
never a symlink, and never another path - Projects inside
.worktrees/and.claude/worktrees/checkouts are found, and a
hidden folder picked for scanning is scanned. Build output that merely contains a
folder namednode_modules— Android.cxxmirrors,.next, bundled.pnpmand
.buncopies, app bundles, and Claude Code's own install under~/.claude— is left
out, so it is never offered for deletion - Merged worktrees are found in more cases: branches merged with GitHub's "Rebase and
merge", squash merges that landed after the base branch moved on, and repositories
whose main remote is not calledorigin. One broken branch reference no longer hides
a whole repository, and a worktree that was only just created is not offered - Removing a stale worktree entry clears only that entry, not every other stale entry
in the repository, and tool clones in hidden folders (~/.oh-my-zsh,~/.nvm,
~/.tmux/plugins) are no longer fetched during a worktree scan - Scanning is faster: on a folder of about 150 projects the
node_modulesscan went
from about 42 to 30 seconds and the worktree scan from about 36 to 25
Worktree removal that survives a busy machine (1.6.0)
- Removing worktrees no longer fails on ones something else already removed. A scan is
a snapshot, and on a machine where agents and scripts clean up after every merge, a
list can be hours out of date by the time you press Remove. Those worktrees used to
fail with "No longer registered" and stay selected, so every later attempt failed on
them again; they now count as removed and leave the list. A folder that still exists
but is no longer a worktree is still refused and left alone - Worktrees with uncommitted changes can now be selected, and Select all takes
everything except locked ones. The confirmation dialog names every worktree whose
changes will be lost, and removes them only once you accept that - That consent is deliberately narrow: a worktree that was clean at scan time and has
changes by the time you click is still refused, a worktree that gained a commit is
always refused, and a lock is never overridden - The menu bar and the window now count the same thing. The window header shows how
many worktrees are removable — the menu bar's number — next to the total, and the
menu bar says "removable" rather than "ready to clean" - After every menu bar refresh the window compares its list with the menu bar's count
for the same folder, and when they differ says the list may be out of date and offers
a rescan. A Rescan button next to the scanned path skips the folder picker
A background refresh that stops re-deriving what it already knows (1.5.0)
- The menu bar count used to recompute everything from scratch every fifteen minutes.
On a folder of 93 repositories with 44 linked worktrees that was 590gitprocesses
and 12.5 seconds, every time, whether or not a commit had moved since the last run - Merge verdicts are now cached between refreshes and keyed on the commits they depend
on — the worktree's HEAD and its base branch tips. Deciding a branch is not merged
is the expensive half, around thirty processes, and those are exactly the branches
that stay on disk for months, so the negative answers are cached too - Whether a worktree is dirty is deliberately never cached: files change without any
ref moving, so that is still read fresh each refresh, for matched worktrees only - Base branches resolve in one
for-each-refinstead of up to nine probes per
repository, and a linked worktree is now recognised by reading its.gitfile
rather than asking Git to resolve every discovered directory - Size and modification time come from one walk of a tree instead of two
- Measured on the same folder: 590
gitprocesses and 12.5s per refresh before,
109 and about 5s after, with byte-identical results - The refresh no longer writes anything.
git statuswas rewriting.git/indexin
every repository it touched, and the squash probe built and destroyed a scratch
directory around every single probe — verified as zero writes across 90 repositories - Git run for the menu bar is niced so it yields to whatever you are doing. macOS's
background class was tried and rejected: it throttles disk I/O too, which turns a
twelve-second refresh into a ten-minute one as soon as the work writes - Settings shows what the last few refreshes cost — duration, processes started, cache
hits — since a job that runs unattended is otherwise invisible when it regresses - Fetching during a full scan is capped at eight repositories at a time instead of
opening one connection per repository at once
Menu bar mode (1.4.0)
- Hide the Dock icon and run as a menu bar app (macOS); closing the window leaves the
app in the menu bar rather than quitting it, and Quit in the tray menu ends it - Live readout of free disk space and worktrees ready to be removed, for a list of
watched folders that now persists between runs — the app's first stored setting - Free space is reported for the volume each watched folder actually lives on, matched
by longest mount point, so a folder on an external disk reports that disk - The worktree count comes from the same merge detection the window uses, minus the
fetch and the size walk, so the background refresh never touches the network and
never crawlsnode_modules. Refreshes every 15 minutes, on demand, and after a clean - Platform notes: the Dock toggle is macOS-only, tray text is unsupported on Windows
and desktop-dependent on Linux (the menu carries the same information everywhere),
and the Linux.debnow declares itslibayatana-appindicator3runtime dependency
Merged worktree detection, reworked (1.3.0)
- Compare against every base branch a repository has —
origin/HEADplus
origin/main,origin/master,origin/developmentandorigin/develop—
instead oforigin/HEADalone, which reported work merged into a second
integration branch as still open - Detect squash merges, GitHub's default, which never make a branch an ancestor
of its base. The probe writes into a scratch object directory and leaves the
repository's object database untouched - Refresh remote-tracking refs before comparing, with no credential prompts and a
hard timeout, so a branch merged an hour ago is not reported as open - Include worktrees with a detached HEAD; never offer one that holds a base branch
- Report registrations whose directory is gone as stale and clear them with
git worktree prune, instead of mislabelling them as having uncommitted changes - Tell untracked OS and watcher noise (
.DS_Store,.watchman-cookie-*) apart
from real changes: it is what makes Git refuse, so removal retries once with a
single-f— never two, which is what bypassing a lock would need - Refuse a worktree that gained a commit after the scan, and say which of
"already removed", "changed since scan", "no longer registered" and
"no longer merged" actually happened - Collapse linked worktrees to one entry per real repository, so a directory of
twenty worktrees is inspected once rather than twenty times
Also in the app
- Scan directories for
node_modulesfolders and merged Git worktrees - Scan shared developer caches — npm, pnpm, bun, yarn, uv, Gradle, puppeteer, nvm
- Detect pnpm stores abandoned when the tool moved its default location
- Report what a delete actually frees, not the nominal folder size:
allocated blocks rather than file lengths, hardlinked files counted once,
and files still linked from outside the tree counted as zero - Delegate to a tool's own prune where one exists, so referenced entries survive
- Empty unrotated logs in place, keeping the writing service's file handle valid
- Batch delete with per-path failure reporting
- Cross-platform support
Downloads
- Windows:
.msior.exeinstaller - macOS:
.dmg(Intel & Apple Silicon) - Linux:
.debor.AppImage