How to Check the Current version of the NPM

Tutorialsrack 12/02/2022 NodeJs Commands

In this article, you learn how to check the current version of the npm. And the easiest way to check what version of npm is installed in your system is by using the command npm --version or npm -v from your terminal.

Using npm --version

npm --version

//Output ⇒ 6.14.15

Using npm -v 

npm -v

//Output ⇒ 6.14.15

And this npm -- version command returns more information about the npm version node version, v8 version, OpenSSL version, and many other packages.

npm — version

//Output ⇒ 
  npm: '6.14.15',
  ares: '1.17.2',
  brotli: '1.0.9',
  cldr: '39.0',
  icu: '69.1',
  llhttp: '2.1.3',
  modules: '83',
  napi: '8',
  nghttp2: '1.42.0',
  node: '14.18.0',
  openssl: '1.1.1l',
  tz: '2021a',
  unicode: '13.0',
  uv: '1.42.0',
  v8: '8.4.371.23-node.84',
  zlib: '1.2.11'

I hope this article will help you to understand how to check the current version of the npm in your system.

Share your valuable feedback, please post your comment at the bottom of this article. Thank you!

Related Posts


Recent Posts