N
Novu14mo 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
mdd14mo ago
I personally install pnpm as global npm package and you specify version as usually
Sudhanshu
SudhanshuOP14mo 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
Suryansh14mo ago
can you give the command?
Sudhanshu
SudhanshuOP14mo ago
yes please @madd
mdd
mdd14mo ago
npm install -g [email protected]
npm install -g [email protected]
I see recently pnpm version was updated in next branch
Sudhanshu
SudhanshuOP14mo ago
may be after update my npm run setup:project not wokring , Check here #I tried Running localhost server
Want results from more Discord servers?
Add your server