# Newman is not a reconized as a internal or external comman

**URL:** <https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [May 2, 2018, 3:45pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525 "2018-05-02T15:45:38Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric.schneider](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@eric.schneider](https://community.postman.com/u/eric.schneider)\
**Post date:** [May 2, 2018, 3:45pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/1 "2018-05-02T15:45:38Z")

</div>

Windows guy, and need help using newman.

Trying to following directions here to run a collection via command line:

> **[newman](https://www.npmjs.com/package/newman)**
>
> Command-line companion utility for Postman. Latest version: 5.3.2, last published: a year ago. Start using newman in your project by running \`npm i newman\`. There are 173 other projects in the npm registry using newman.

when running newman command:  
newman run my\_collection.json

I get:  
newman’ is not recognized as an internal or external command,  
operable program or batch file.

I understand it can’t find it, neither could I. And maybe I need to specify the path.

I think I found it here?  
C:\Therma-Stor\node\_modules

How does this work on Window 10?

Thanks,  
Eric

---

<div class="post-metadata">

**Author:** ![dhoyt](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/dhoyt/32/238_2.png) [@dhoyt](https://community.postman.com/u/dhoyt)\
**Post date:** [May 2, 2018, 8:29pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/2 "2018-05-02T20:29:16Z")

</div>

Try this …

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/6/9/69ecb3910f0f0a4258531c4fa51dd737f6168a59.png)

---

<div class="post-metadata">

**Author:** ![eric.schneider](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@eric.schneider](https://community.postman.com/u/eric.schneider)\
**Post date:** [May 3, 2018, 1:33pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/3 "2018-05-03T13:33:25Z")

</div>

no luck, I still get the same error

---

<div class="post-metadata">

**Author:** ![eric.schneider](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@eric.schneider](https://community.postman.com/u/eric.schneider)\
**Post date:** [May 3, 2018, 2:56pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/4 "2018-05-03T14:56:24Z")

</div>

was forced to specify the full path.

C:\Therma-Stor\node\_modules.bin\newman

The installers don’t do a very good job installing on wondows.

---

<div class="post-metadata">

**Author:** ![arueckauer](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/arueckauer/32/1094_2.png) [@arueckauer](https://community.postman.com/u/arueckauer)\
**Post date:** [June 6, 2018, 12:14pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/5 "2018-06-06T12:14:17Z")

</div>

Ran into a similar issue:

While newman was executable both from command line and powershell, running tests in TeamCity failed since it could not locate newman (or any other npm installed CLIs).

Solution (in my case):  
Move npm path from user environment to system environment and restart TeamCity.

---

<div class="post-metadata">

**Author:** ![alkamist-dgrandfield](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@alkamist-dgrandfield](https://community.postman.com/u/alkamist-dgrandfield)\
**Post date:** [November 16, 2018, 6:51am UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/6 "2018-11-16T06:51:05Z")

</div>

+1 arueckauer as this worked for me as well. Thanks

---

<div class="post-metadata">

**Author:** ![charu1292](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@charu1292](https://community.postman.com/u/charu1292)\
**Post date:** [June 28, 2019, 7:25am UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/8 "2019-06-28T07:25:32Z")

</div>

i am getting the same issue  
‘newman’ is not recognized as an internal or external command,  
operable program or batch file.while try to run postman test through jenkin job.

I tried all above solutions.

---

<div class="post-metadata">

**Author:** ![hrs.apr28](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hrs.apr28](https://community.postman.com/u/hrs.apr28)\
**Post date:** [September 16, 2019, 5:22am UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/9 "2019-09-16T05:22:42Z")

</div>

After all the changes, Don’t forget to restart the jenkins service

---

<div class="post-metadata">

**Author:** ![umut.catal.arc](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/umut.catal.arc/32/4123_2.png) [@umut.catal.arc](https://community.postman.com/u/umut.catal.arc)\
**Post date:** [April 3, 2020, 1:14pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/10 "2020-04-03T13:14:31Z")

</div>

It worked for me. Thank you

---

<div class="post-metadata">

**Author:** ![aletivani](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@aletivani](https://community.postman.com/u/aletivani)\
**Post date:** [June 15, 2020, 4:22am UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/11 "2020-06-15T04:22:18Z")

</div>

by giving full path of newman, it worked for me

---

<div class="post-metadata">

**Author:** ![kpedron](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@kpedron](https://community.postman.com/u/kpedron)\
**Post date:** [June 22, 2020, 9:46pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/12 "2020-06-22T21:46:49Z")

</div>

Try to install newman globally:

> npm i -g newman

---

<div class="post-metadata">

**Author:** ![yemibakare1](https://avatars.discourse-cdn.com/v4/letter/y/c2a13f/32.png) [@yemibakare1](https://community.postman.com/u/yemibakare1)\
**Post date:** [September 2, 2022, 7:46pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/13 "2022-09-02T19:46:10Z")

</div>

> [@kpedron](#):
>
> npm i -g newman

Got the following error in windows 11: ‘newman’ is not recognized as an internal or external command,  
operable program or batch file. The above solution failed

---

<div class="post-metadata">

**Author:** ![yemibakare1](https://avatars.discourse-cdn.com/v4/letter/y/c2a13f/32.png) [@yemibakare1](https://community.postman.com/u/yemibakare1)\
**Post date:** [September 2, 2022, 9:45pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/14 "2022-09-02T21:45:10Z")

</div>

I was able to resolve this issue by uninstalling nodeJs and then installed the latest version of the same

---

<div class="post-metadata">

**Author:** ![nabig151cs](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nabig151cs](https://community.postman.com/u/nabig151cs)\
**Post date:** [January 9, 2023, 5:37pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/15 "2023-01-09T17:37:55Z")

</div>

Try this :

> **[API’s automation via Newman and Generate HTML reports - Softans](https://softans.com/apis-automation-via-newman-and-generate-html-reports/)**
>
> Newman is a command-line Collection Runner for Postman. It enables you to run and test a Postman Collection directly from the command line.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [August 24, 2023, 4:21pm UTC](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525/16 "2023-08-24T16:21:25Z")

</div>

Closed on August 24, 2023, 4:21pm UTC


