# How to use Postman CLI on Windows

**URL:** <https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005>\
**Category:** Help Hub\
**Tags:** postmancli, postman-cli\
**Created:** [November 25, 2025, 3:09pm UTC](https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005 "2025-11-25T15:09:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![drv0684](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@drv0684](https://community.postman.com/u/drv0684)\
**Post date:** [November 25, 2025, 3:09pm UTC](https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005/1 "2025-11-25T15:09:09Z")

</div>

My CLI will open for a millisecond then immediately close.

Any suggestions?

---

<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:** [November 25, 2025, 3:20pm UTC](https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005/2 "2025-11-25T15:20:50Z")

</div>

Hey @drv0684 👋

Could you provide a little more information here, please?

Do you mean the Postman CLI?

> **[Install the Postman CLI | Postman Docs](https://learning.postman.com/docs/postman-cli/postman-cli-installation/)**
>
> Install the Postman CLI by following the instructions for your operating system below.

---

<div class="post-metadata">

**Author:** ![drv0684](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@drv0684](https://community.postman.com/u/drv0684)\
**Post date:** [November 25, 2025, 3:27pm UTC](https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005/3 "2025-11-25T15:27:04Z")

</div>

Yes. I am on a Windows machine. I go to search\>Postman Cli\>Open, it will open just for a split second and then immediately close.

---

<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:** [November 25, 2025, 3:32pm UTC](https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005/4 "2025-11-25T15:32:07Z")

</div>

It’s a command line tool, if you open a new terminal on your machine and run the command:

```auto
postman --version

```

Do you see the current version returned?

---

<div class="post-metadata">

**Author:** ![drv0684](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@drv0684](https://community.postman.com/u/drv0684)\
**Post date:** [November 25, 2025, 3:35pm UTC](https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005/5 "2025-11-25T15:35:33Z")

</div>

> [@danny-dainton](#):
>
> `postman --version`

I get this - 1.24.2, which does not appear to be the newest verstion.

---

<div class="post-metadata">

**Author:** ![drv0684](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@drv0684](https://community.postman.com/u/drv0684)\
**Post date:** [November 25, 2025, 3:39pm UTC](https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005/6 "2025-11-25T15:39:23Z")

</div>

I ran this in my cmd

npm install -g postman-cli

It is still saying version 1.24.2

---

<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:** [November 25, 2025, 3:43pm UTC](https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005/7 "2025-11-25T15:43:39Z")

</div>

That’s the latest version of the Postman CLI.

Are you looking to do something with the CLI? Running Collections in a terminal or a CI/CD pipeline?

---

<div class="post-metadata">

**Author:** ![drv0684](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@drv0684](https://community.postman.com/u/drv0684)\
**Post date:** [November 25, 2025, 4:03pm UTC](https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005/8 "2025-11-25T16:03:42Z")

</div>

I was wanting to experiment with it, yes.

---

<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:** [November 25, 2025, 4:11pm UTC](https://community.postman.com/t/how-to-use-postman-cli-on-windows/87005/9 "2025-11-25T16:11:58Z")

</div>

If you’re seeing a response from the `version` command, it looks like you’re good to go. 🏆

You can run a Collection:

> **[Run a collection using the Postman CLI | Postman Docs](https://learning.postman.com/docs/postman-cli/postman-cli-run-collection/#run-a-collection-locally-with-the-postman-cli)**
>
> Use the Postman CLI to manually run collections to test the functionality of your API.

Experiment with using the built-in reporters:

> **[Generate collection run reports using the Postman CLI | Postman Docs](https://learning.postman.com/docs/postman-cli/postman-cli-reporters/#about-built-in-reporters)**
>
> The Postman CLI has built-in reporters you can use to generate reports for your collection runs.

You could even try out the new [postman request](https://learning.postman.com/docs/postman-cli/postman-cli-options/#postman-request) command:

```auto
postman request 'https://postman-echo.com/get'

```

The `Code snippet` section in the right sidebar, will given you the code for a request you have open in the workbench:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/8/f/8f0d4c2f107b83538048b50e0c5563f8bfb0c071.png)
