N
Novu16mo ago
Sudhanshu

How to install a specific version of 'pnpm'

As Novu using 7.33.4 version of pnpm but when I try to install pnpm then it install latest version but I don't want that, Ref : https://pnpm.io/installation#installing-a-specific-version from this link I got a command curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=<version> sh - but this command works only on mac as curl is not supported in windows.
Installation | pnpm
Prerequisites
6 Replies
mdd
mdd16mo ago
I personally install pnpm as global npm package and you specify version as usually
Sudhanshu
SudhanshuOP16mo ago
I have a doubt...As the project is working on different versions of pnpm and node so do we need to install the same version as of project or can we just install the latest versions?
Suryansh
Suryansh16mo ago
can you give the command?
Sudhanshu
SudhanshuOP16mo ago
yes please @madd
mdd
mdd16mo ago
npm install -g [email protected]
npm install -g [email protected]
I see recently pnpm version was updated in next branch
Sudhanshu
SudhanshuOP16mo ago
may be after update my npm run setup:project not wokring , Check here #I tried Running localhost server

Did you find this page helpful?