← Files PostmanARCHIVED FILE

skills/bootstrap/reference/cli_installation.md

1.61 KB · Oct 2, 2026 · 00:22 UTC

↓ Download file

# Postman CLI Installation

A global install, on `PATH`, installed by one of three tools depending on
platform. Whichever one put the binary there is the one to use again when
updating it — mixing tools leaves two `postman` binaries and a `PATH`
question.

## Install

**npm (all platforms):**

```bash
npm install -g postman-cli
```

**macOS, Linux, and WSL (curl):**

```bash
curl -o- "https://dl-cli.pstmn.io/install/unix.sh" | sh
```

**Windows (PowerShell):**

```powershell
powershell.exe -NoProfile -InputFormat None -ExecutionPolicy AllSigned -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://dl-cli.pstmn.io/install/win64.ps1'))"
```

## Check for drift

```bash
postman --version              # installed
npm view postman-cli version   # latest published
```

## Update

Run the same command that installed it — the npm, curl or PowerShell line
above, whichever put the binary there. Using a different one leaves two
`postman` binaries and a `PATH` question. Never `npm install -g` over a copy
that came from the curl installer or a system package manager.

The CLI has no self-update verb. `postman skills update` is a different
thing: it refreshes a repository's committed `postman/skills/`, not the
binary.

## Uninstall

npm installations:

```bash
npm uninstall -g postman-cli
```

Other install methods: delete the `postman` binary from its install
directory (`%USERPROFILE%\AppData\Local\Microsoft\WindowsApps` on Windows,
`/usr/local/bin` on macOS/Linux/WSL).

Source: https://learning.postman.com/docs/postman-cli/postman-cli-installation/

SHA-256: 47a386fa43c5bfe3fc5999bc2d7eec77c1e79077994f6b6748cef0ff11a00161