Use Node.js with pnpm for faster, disk-efficient installs on React, Next.js, or Node backends.
- Install Node.js LTS from nodejs.org (see Install Node.js if needed).
- Install pnpm globally:
npm install -g pnpm. Verify withpnpm --version. - In the project folder run
pnpm install(orpnpm i) to install dependencies. Usepnpm run devorpnpm run buildas per the README. - If the project uses npm lockfile only, you can still use
pnpm importto generatepnpm-lock.yaml, or stick tonpm install.
pnpm uses a single global store and symlinks, so it is often faster and uses less disk space than npm.