CLI tool

sona-clean

Clean generated project folders without guessing what is safe to remove.

`sona-clean` is a lightweight CLI for reclaiming disk space in active development workspaces. It scans folders recursively, groups results by project, and helps you remove reproducible directories with clear safety checks.

install

Why it exists

  • Scans workspaces for generated folders like node_modules, .next, dist, and build.

  • Shows reclaimable size before deleting anything.

  • Cleans with confirmation by default, with explicit escape hatches for risky cases.

Usage

Install

Install the CLI globally with npm.

install

Scan

Check what can be reclaimed before you delete anything.

scan

Clean

Remove matched generated folders with confirmation.

clean

Built-in targets

node_modules.nextdistbuild

To the point

Use scan when you want visibility.

Use clean when you are ready to reclaim space.

Safety stays on by default. Broad roots and dangerous custom names require explicit opt-in.

2026 © Dinil Thilakarathne

Built for development workspaces that collect too much noise.