4 ms·
`corepack enable` https://nodejs.org/api/corepack.html https://nodejs.org/api/corepack.html
by p8123 5y ago
`corepack enable`
https://nodejs.org/api/corepack.html https://nodejs.org/api/corepack.html
- mhio 5y agoThe caveat here is that the binaries aren't "shipped" with node. `corepack enable` adds shim scripts to node's $PATH to intercept calls to `npm` `yarn` or `pnpm` and downloads the binaries from a URL without much checking along the way. This functionality has had some vocal opposition.