Software Testing

npm – Node Package Manager

npm – Node Package Manager

npm( Node Package Manager) is a JavaScript software registry and a CLI( Command-Line Interface)  program that allows developers to interact with it. We can use the official website to discover public packages, create profiles, set up organizations, etc.

Install npm

We can get npm by installing Node.js on your machine. The steps to install Node.js are::

https://www.testingdocs.com/downloading-and-installing-node-js-on-windows/

We can use the CLI program to interact with npm.

The general syntax is as follows::

\> npm <command>

For example, to know the npm version, we can issue the following command:

\> npm -version

npm version command

Official website

More information on npm can be found on the official website at:

https://www.npmjs.com/