Skip to content

Commands

CommandDescription
nodehunterShow help (default)
nodehunter help [cmd]Help for a command or global options
scanDiscover node_modules directories (read-only)
sizePhysical disk totals and largest projects
listList projects or filter by package name
findLocate package installs across the workspace
whyPackage footprint — projects, versions, disk impact
inspectAnalytic lenses over workspace inventory
deleteRemove node_modules (requires confirmation)

Shared options

Commands that walk the filesystem accept discovery flags (-p, -D, -i, -nd, -L).

Listing-style commands (scan, size, list, find, why, inspect) also accept:

FlagDescription
--top <n>Max rows to show (default 9; use --full for all)
--fullList every match with no cap

All commands accept global flags (--json, --quiet, --yes, …).

Choose a command

GoalStart with
See every node_modules pathscan
Know how much disk is usedsize
Rank projects by sizesize or list
Find where react is installedfind react
Explain one package's footprintwhy lodash
Duplicate versions, drift, risksinspect
Reclaim spacesizedelete

Narrative walkthroughs: Workflows.