How to check the version of installed package with NPM

Updated at 21-Feb-2022, By samar

How to check the version of installed package with NPM

With this article, we will examine several different instances of how to solve the "How to check the version of installed package with NPM".

You can get the version of installed package with NPM. You have to use the npm -v command in CLI, it will return the version of specified package.
  • Get the version of an installed NPM package

    npm -v <package-name>
    <p>OR</p>
    npm --version <package-name>
    

Back to code snippet queries related nodejs