npm 8 was the default bundled with some early Node.js 20.x releases before npm 9/10 became standard. It uses lockfileVersion 2 and enforces strict peer dependencies. npm 9 and 10 include performance and security improvements not in npm 8. Upgrade with `npm install -g npm@latest`.