v0.1.0 Released

Reclaim Your Disk Space

Instantly clean up node_modules, Python venvs, old NVM versions, and more. Safe, interactive, and built for developers.

$ npm install -g @codelynther/dclean

Features

Smart Cleanup for Devs

Designed to understand your projects, not just delete files blindly.

๐Ÿ“ฆ

Deep Scanning

Finds `node_modules` nested deep within your projects, monorepos, and workspaces.

โœ…

Granular Control

Select exactly what to delete. Filter by age (e.g., "older than 3 months") or size.

๐Ÿ—‘๏ธ

Safety First

Nothing is permanently deleted. Items are moved to Trash so you can recover mistakes.

๐Ÿงฉ

Multi-Language

Supports Python (venvs), Rust (target), Gradle, Maven, Flutter, and Xcode.

๐Ÿ“Š

Visual Stats

See exactly where your space is going with beautiful, interactive CLI tables.

๐Ÿ“œ

History Log

Track your cleanup sessions and see total space reclaimed over time.

Interactive CLI

โžœ ~ dclean --nvm

๐Ÿงน D Clean v0.1.0

Scanning global locations...

โœ“ Scan complete!

๐Ÿ“— NVM versions (6)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”

โ”‚ Version โ”‚ Size โ”‚ Last Modified โ”‚

โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค

โ”‚ v18.18.2 โ”‚ 380.2 MB โ”‚ 1 year โ”‚

โ”‚ v20.19.2 โ”‚ 361.95 MB โ”‚ 6 months โ”‚

โ”‚ v22.18.0 โ”‚ 167.61 MB โ”‚ 1 month โ”‚

โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Subtotal: 1.31 GB

? Check what to delete (space=check/uncheck, enter=confirm)

โฏ โ—ฏ โญ Skip โ€” do not delete anything (exit)

โ—ฏ ๐Ÿ“— NVM versions older than 3 months (2, 742 MB)

โ—ฏ ๐Ÿ“— NVM versions older than 6 months (1, 380 MB)

โ—ฏ โ†ณ ๐Ÿ” Select specific NVM versions...

_

Common Commands

dclean --init

First run setup. Choose which folders to scan and save to config.

dclean --node-modules

Scan only node_modules across your configured paths.

dclean --nvm

Check for old, unused Node.js versions managed by NVM.

dclean --history

View your cleanup history and total space reclaimed.

See all options with --help

Back to top