Is it possible to switch pnpm version back and forth like nvm? #4446
-
Hey, so my company is migrating from
the same applies if I'm running Is there some kind of an nvm where we can switch quickly between pnpm version to a specific version needed for our codebase? If not, what is the recommended strategy for teams to develop features in-between pnpm transition? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Sorry, I am currently not aware of such feature. So you probably need to reinstall pnpm. Or you can dynamically run pnpm. To run v4:
To run v6:
Also, v7 is already in progress. It will be latest on May 1st |
Beta Was this translation helpful? Give feedback.
-
May be you are interested in this answer about corepack. |
Beta Was this translation helpful? Give feedback.
-
use asdf instead of nvm, then you can manage all kinds of tools (we use it for pnpm, node, yarn etc) |
Beta Was this translation helpful? Give feedback.
-
It is now possible with pnpm v9.7. |
Beta Was this translation helpful? Give feedback.
Sorry, I am currently not aware of such feature. So you probably need to reinstall pnpm. Or you can dynamically run pnpm.
To run v4:
To run v6:
Also, v7 is already in progress. It will be latest on May 1st