INDEX.JS(1)
π NAME π
index.js β the npm tree doctor π©Ίπ³
β¨ DESCRIPTION β¨
okay so bestie, meet Arborist β the npm tree doctor π it's literally here to fix ur dependency tree's whole vibe.
Version: 9.7.0
Also, straight up, this page ships with this little gem in it:
Error: command 'undefined' does not exist.
yeah. iconic. anyway π
πΈ USAGE πΈ
arborist <cmd> [path] [options...]
π¦ COMMANDS π¦
reifyβ reify the ideal tree intonode_modules(this is ur install, update, rm, all of it, everything lives here)pruneβ prune the ideal tree and then reify (basicallynpm prune)idealβ generate the ideal tree and print it outactualβ read what's actually sitting innode_modulesand print that treevirtualβ read the virtual tree from ur local shrinkwrap file and print itshrinkwrapβ load a local shrinkwrap and print its dataauditβ run a security audit on ur project's dependencies πfundingβ query funding info in the local package tree πΈ and psst: a second positional argument after the path name can limit this to one package namelicenseβ query license info in the local package tree π and same deal: a second positional argument after the path name can limit it to one license typehelpβ print this textversionβ print the version
π OPTIONS π
Most npm options work here too, bestie β but they're in camelCase instead of css-case. no cap. so for example, instead of --dry-run, u use --dryRun. π
Additionally:
--loglevel=warn/--quietβ suppresses the printing of package trees π€«--logfile <file|bool>β writes ur logs out to a file--timingβ shows timing information β±οΈ- instead of
npm install <pkg>, u sayarborist reify --add=<pkg>β and heads up, the--add=<pkg>option can be specified multiple times β¨ - instead of
npm rm <pkg>, u sayarborist reify --rm=<pkg>β and yep, the--rm=<pkg>option can be specified multiple times too - instead of
npm update, u sayarborist reify --update-allπ₯ - and
npm audit fixis literally justarborist audit --fixπ
lowkey the whole flex here is: whatever npm does, arborist does it too, u just gotta speak camelCase. periodt.
and that's the whole page, bestie π«Ά this was index.js version 9.7.0, from July 2026, sitting in section INDEX.JS(1) of the manual. slay, go doctor some trees π³π
π¦ where this page comes from
- ubuntu stonking: npm 11.16.0+ds2-4 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms