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
mdd2y ago
I personally install pnpm as global npm package and you specify version as usually
Sudhanshu
SudhanshuOP2y 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
Suryansh2y ago
can you give the command?
Sudhanshu
SudhanshuOP2y ago
yes please @madd
mdd
mdd2y ago
npm install -g pnpm@8.9.0
npm install -g pnpm@8.9.0
I see recently pnpm version was updated in next branch
Sudhanshu
SudhanshuOP2y 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?