# Newman not recognized as an internal or external command

**URL:** <https://community.postman.com/t/newman-not-recognized-as-an-internal-or-external-command/13980>\
**Category:** Help Hub\
**Created:** [July 8, 2020, 10:36am UTC](https://community.postman.com/t/newman-not-recognized-as-an-internal-or-external-command/13980 "2020-07-08T10:36:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![veeru422](https://avatars.discourse-cdn.com/v4/letter/v/58f4c7/32.png) [@veeru422](https://community.postman.com/u/veeru422)\
**Post date:** [July 8, 2020, 10:36am UTC](https://community.postman.com/t/newman-not-recognized-as-an-internal-or-external-command/13980/1 "2020-07-08T10:36:28Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

I have installed Node and npm and working fine. even i installed newman getting response as some packages added while trying to get the version of newman getting below error

“F:\DevWorkspace\Postman\>newman run DemoAPI.postman\_collection.json  
**‘newman’ is not recognized as an internal or external command,**  
**operable program or batch file.** ”

Please suggest how to create html reports with newman.

---

<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:** [July 8, 2020, 11:05am UTC](https://community.postman.com/t/newman-not-recognized-as-an-internal-or-external-command/13980/2 "2020-07-08T11:05:08Z")

</div>

Hey @veeru422

Did you install Newman globally?

```
npm i -g newman

```

There’s an amazing HTML reporter here you can use… 😉

The repo contains various different methods to install the reporter.

---

<div class="post-metadata">

**Author:** ![veeru422](https://avatars.discourse-cdn.com/v4/letter/v/58f4c7/32.png) [@veeru422](https://community.postman.com/u/veeru422)\
**Post date:** [July 8, 2020, 11:28am UTC](https://community.postman.com/t/newman-not-recognized-as-an-internal-or-external-command/13980/3 "2020-07-08T11:28:21Z")

</div>

@ **dannydainton** , yes i have created globally using same command.  
still same issue

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/2/9/295cdab65655e5b1bdf4cc485e2011d38403d555.png)

---

<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:** [July 8, 2020, 11:33am UTC](https://community.postman.com/t/newman-not-recognized-as-an-internal-or-external-command/13980/4 "2020-07-08T11:33:31Z")

</div>

Is there anything in here that can point you in the right direction, there is mention of system path changes for Node.

> [@Newman is not a reconized as a internal or external comman](https://community.postman.com/t/newman-is-not-a-reconized-as-a-internal-or-external-comman/1525):
>
> Windows guy, and need help using newman. Trying to following directions here to run a collection via command line: 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:** ![veeru422](https://avatars.discourse-cdn.com/v4/letter/v/58f4c7/32.png) [@veeru422](https://community.postman.com/u/veeru422)\
**Post date:** [July 8, 2020, 11:34am UTC](https://community.postman.com/t/newman-not-recognized-as-an-internal-or-external-command/13980/5 "2020-07-08T11:34:49Z")

</div>

Thanks @danny-dainton, finally resolved issue through adding Path variables on envoronmental variables as  
%AppData%\npm ----\>Path on system variables.

---

<div class="post-metadata">

**Author:** ![veeru422](https://avatars.discourse-cdn.com/v4/letter/v/58f4c7/32.png) [@veeru422](https://community.postman.com/u/veeru422)\
**Post date:** [July 8, 2020, 11:37am UTC](https://community.postman.com/t/newman-not-recognized-as-an-internal-or-external-command/13980/6 "2020-07-08T11:37:11Z")

</div>

Need to add system variables of npm from appData.

---

<div class="post-metadata">

**Author:** ![abdulrrehman45](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@abdulrrehman45](https://community.postman.com/u/abdulrrehman45)\
**Post date:** [January 18, 2023, 2:22pm UTC](https://community.postman.com/t/newman-not-recognized-as-an-internal-or-external-command/13980/7 "2023-01-18T14:22:39Z")

</div>

worked for me. Thanks

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [August 22, 2023, 1:52pm UTC](https://community.postman.com/t/newman-not-recognized-as-an-internal-or-external-command/13980/8 "2023-08-22T13:52:36Z")

</div>

Closed on August 22, 2023, 1:52pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
