How to Install Newman using NPM?

Node.jsServer Side ProgrammingProgramming

We can install Newman using npm. Newman can be installed using npm and Node.js. To download Node.js, navigate to the link − https://nodejs.org/en/download/current/.

As we have downloaded Node.js successfully, we can check it with the below command −

In Windows

node --v

In Linux

node --version

The npm package becomes available automatically on installing Node.js. We can check it with the below command −

In Windows

npm --v

In Linux

npm --version

Finally to install Newman, run the below command −

For Windows

newman --v

For Linux

newman --version
raja
Published on 25-Jun-2021 13:13:40
Advertisements