'newman' is not recognized as an internal or external command in TeamCity Step Build

I am trying to run newman as command line script as step in Teamcity

I am following this example for my work

I am getting below error . Note . I already installed which available in C:\Users\kalai\AppData\Roaming\npm for my local machine .

I am able to run successfully below command from command line but not in inside teamcity build
newman run “https://www.getpostman.com/collections/8ea32a998d359102a156

‘newman’ is not recognized as an internal or external command,*

operable program or batch file.*

Process exited with code 1*

Process exited with code 1 (Step: Command Line)*

Could you please help to resolve this issue . Thank you for looking at this question

Hi @m.semalaiappan,

Welcome to the Postman community ! Just wanted to check with you whether you have installed newman after installing npm because although newman is part of the npm registry, you would have to go ahead and install newman on your machine using the following command:

npm install -g newman

I think the following documentation would be helpful: https://www.npmjs.com/package/newman