W3cubDocs

/npm

About npm CLI versions

Skip to content
Table of contents

The npm command line interface (CLI) is released on a regular cadence. We recommend installing the release that supports your workflow:

The latest release of npm

The latest release of npm is the most recent stable version. When you install Node.js, npm is automatically installed. However, npm is released more frequently than Node.js, so to install the latest stable version of npm, on the command line, run:

npm install npm@latest -g

© npm, Inc. and Contributors
Licensed under the npm License.
npm is a trademark of npm, Inc.
https://docs.npmjs.com/about-npm-versions