toolkit clean command group helps you reclaim gigabytes of disk space by locating and removing dependency folders that accumulate across your projects. It exposes two subcommands: scan to recursively discover node_modules directories and Python virtual environments (.venv, venv, env, conda) under a given path and report how much space you can recover, and purge to actually delete those folders — with a mandatory dry-run mode so you can always preview what will be removed before committing.
toolkit clean scan
Recursively search a directory fornode_modules folders and Python virtual environments. For each target found, the command reports its type, size on disk, whether it is orphaned (no parent project file detected), and the total reclaimable space across all targets.
Syntax
Options
Examples
--json, the command writes a structured summary to stdout:
toolkit clean purge
Delete thenode_modules directories and Python virtual environments discovered under the target path. Use --dry-run to simulate the operation and see exactly how much space would be freed without touching any files.
Syntax
Options
Examples
--json, the command writes a structured result to stdout: