Replies: 2 comments
-
|
@LJNeon The standalone script installs separate binaries into To clean them up: If you want to automate it, a simple one-liner (carefully) removing all folders except the current version from that directory is the standard maintenance approach. |
Beta Was this translation helpful? Give feedback.
-
|
Your result matches the docs. In a project with Outside that kind of project, So if you see a newer version inside the project but an older one in |
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.
-
My goal is simple, update pnpm for the user and/or across all projects and remove unnecessary older versions. I have tried
pnpm self-updatebut it seems to only work for the current project, an older version is still used elsewhere:I also tried running the initial install command in my home folder:
Which did update the pnpm version used contrary to the response message. However it didn't remove the old version, and I'm unsure if this is the best way to go about it:
Here's a more realistic example of why I would want to clean up older unused versions:
So what is the best/intended way to go about this?
Beta Was this translation helpful? Give feedback.
All reactions