What are pnpm’s preferences for Node.js distribution? #7736
GeoffreyBooth
started this conversation in
General
Replies: 2 comments 9 replies
-
pnpm recommends using corepack in their Getting Started page, as the first option after standalone scripts, and before npm. |
Beta Was this translation helpful? Give feedback.
3 replies
-
I personally prefer to install pnpm with the standalone script. This way pnpm can install node.js and manage node.js versions. The executable version of pnpm is also slightly faster. I created a poll to see what the users prefer: https://twitter.com/pnpmjs/status/1764788568398897439 I personally don't want to be involved in the corepack discussions anymore. They are too heated. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Forgive me if this was asked elsewhere; I’ve been looking and I can’t seem to find it. There’s an open PR for Node to include a
pnpm
binary in its distribution which would be a runtime to Corepack, to tell Corepack to download and manage pnpm. Is this something that the pnpm project wants?As I see it, there are three broad options:
node
andnpm
andnpx
binaries/symlinks, the installation creates apnpm
symlink to Corepack. When users runpnpm
for the first time after Node installation, Corepack downloads and version-manages pnpm.pnpm
binary or script that does something else, likenpm install --global pnpm
or whatever installation method the pnpm team prefers.Which of the above is the preference of the pnpm project? cc @zkochan
Beta Was this translation helpful? Give feedback.
All reactions