Replies: 6 comments 11 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
why not add how much disk size it cleared as well? i always like to know how much it cleared. currenty, it looks like: Removed all cached metadata files
Removed 9548 files
Removed 591 packagesbut yeah i love when |
Beta Was this translation helpful? Give feedback.
-
|
both location and command are different across OS-es, that's why it's s simply necessary there was native command, like |
Beta Was this translation helpful? Give feedback.
-
|
both npm and yarn offers a cmd to clear the cache |
Beta Was this translation helpful? Give feedback.
-
|
This works for me |
Beta Was this translation helpful? Give feedback.
-
rm -rf "$(pnpm store path)" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In docs, i couldnt find a way to force clean the cache for pnpm (either global
pnpm-storeor the project-scopenode_modules). Any hints?Note,
pnpm store prunedoes not seem what I ask, because after running it, if you enter the directory (returned bypnpm store path) the foldes/files are still there.Beta Was this translation helpful? Give feedback.
All reactions