Compare

Devbroom vs npkill

npkill deletes a folder because of its name. Devbroom checks who made it, whether it's in use and whether git tracks anything inside, then moves it to the Trash.

When a coding agent might still be working in that folder, a name isn't enough evidence. Devbroom checks before anything moves.

Why Devbroom

  • More than node_modules

    Agent sessions, scratch folders, git worktrees, .next, target, .venv and caches like npm, pnpm and Cargo, all in one scan.

  • Checks before it calls anything Ready

    A package.json beside it, ignored by git, no tracked files, no running session, process or open file. Otherwise it waits.

  • The Trash, not rm -rf

    Everything you clean goes to the Trash and can be put back from History. npkill deletes on the spot.

At a glance

Devbroom vs npkill
Feature Made for coding agentsDevbroom npkill
Coding-agent data (Claude Code, Codex...) 5 agents, each with its own rules Better here No
Git worktrees Blocked if they hold work, never --force Better here No
How a folder is recognized Name plus evidence, like package.json Better here By name; marks folders inside apps and hidden folders
Checks running sessions and open files Yes No
Where cleaned items go The Trash Better here Deleted permanently (rm -rf)
Undo Put back from History No
Dry run Yes Yes
Size and last change Yes Yes
Platforms macOS only macOS, Linux and Windows Better here
Install A Mac app download Nothing to install: npx npkill Better here
Source code Closed Open source, MIT Better here
Price Free; Pro $29 once Free

Pick Devbroom if

  • Coding agents and their worktrees fill up your disk, not just node_modules.
  • You want to know a folder isn't in use before it goes.
  • You want items in the Trash, with Put back from History.
  • You'd rather use a Mac app, or both an app and a command.
Download for macOS

npkill is enough if

  • You want to clear an old project's node_modules from a terminal on Linux or Windows, right now.

npkill is a quick, free way to list and delete node_modules folders from a terminal. It decides by name, and it deletes on the spot. That's fine for an old project you know is finished. It's risky when coding agents are working across your projects: the node_modules you delete might belong to a session that's still running, or sit inside a worktree holding unsaved work. Devbroom checks all of that first.

Everything agents and builds leave

Devbroom finds node_modules too, along with .next, .turbo, target, .venv and other build folders, plus developer caches such as npm, pnpm and Cargo. It also knows where your agents keep their sessions, scratch folders and caches, and finds git worktrees even outside your project folders. One scan, one list, every item with its verdict.

A name is not evidence

npkill shows the size and last change of each project and puts a warning on node_modules inside apps and hidden folders, then deletes what you select with rm -rf. Its latest release, 0.12.2, matches by one folder name; profiles for other ecosystems are on its main branch but not released yet.

Devbroom looks at more than the name before it calls a folder Ready:

  • node_modules needs a package.json beside it, must be ignored by git and hold no tracked files.
  • If an agent session runs in that folder, a process runs from it or a file in it is held open, it's Blocked.
  • A worktree with uncommitted changes is Blocked, and Devbroom never uses --force.
  • Every item is checked again when you press Clean, goes to the Trash, and can be put back from History.

Every rule is on the Rules page.

An app, a command and your agents

Devbroom is a Mac app with a menu bar panel, and a devbroom command when you'd rather stay in the terminal. Its MCP server lets your agents check a folder before deleting it, or ask you for a cleanup. See Integrations.

Price

Scanning, verdicts, cleaning, History, the command line and MCP are free. Pro is a one-time $29 for 2 Macs and adds Automatic upkeep, Analytics and the session tools. Details on the Pricing page. npkill is free and open source.

When npkill is enough

If you're on Linux or Windows, or you just want one finished project's node_modules gone right now, npkill does exactly that. On a Mac where agents are at work, run devbroom --details on a path first and you'll see its verdict and every reason behind it.

Facts checked on October 9, 2026. Website: npkill

npkill is a trademark of its owner. Devbroom is not affiliated with it. What this page says about npkill comes from its own site and repository; if something has changed, write to support@devbroom.com.

See what your agents left behind.

Scanning only reads, so you see everything Devbroom finds before you decide anything. Devbroom is free, and Pro features are on for the first 14 days.

Other comparisons

  • Devbroom vs CleanMyMac

    Devbroom vs CleanMyMac

    A general cleaner sees folders. Devbroom sees which agent made each one, whether it's still in use and whether it holds unsaved work.

  • Alternatives

    Mac cleaners that need no account

    Which cleaners ask you to sign in and which don't, exactly what Devbroom sends and when, and a one-line command to see what any app connects to.

  • Alternatives

    The best Mac disk cleaners for developers in 2026

    Ten tools, grouped by the job they do, with prices, how each one deletes, and which to pick for the space you actually need back.

  • Alternatives

    CleanMyMac alternatives for developers in 2026

    What a developer's Mac fills up with, and which tool sees it: disk maps, build folder cleaners, Xcode tools and cleaners made for coding agents.