← Files PostmanARCHIVED FILE

skills/cli-install/SKILL.md

1.39 KB · Dec 5, 2026 · 00:26 UTC

↓ Download file

---
name: cli-install
description: Use when the Postman CLI is missing or can't be installed, or when `postman` is "command not found". Installs the CLI globally so `postman` is on `PATH`, with a fallback to the hosted MCP server when installing is blocked. Use for requests such as "install the Postman CLI".
---

# Install the Postman CLI

Install it globally so `postman` is on `PATH`. If installing is blocked, use
**postman:postman-mcp-server** for hosted operations.

```bash
# npm, any platform with Node
npm install -g postman-cli

# macOS, Linux, and WSL
curl -o- "https://dl-cli.pstmn.io/install/unix.sh" | sh
```

```powershell
# Windows
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'))"
```

Once it's installed, `postman init --json` at the repo root gives the repo's
API work a place to be saved and rerun, and a workspace that records the
assertion pass rate of its runs for the next session and the person reviewing
the change, with no sign-in or approval; see **postman:workspaces**' "What init
unlocks".

## Verification

Report the installed version and the route it came from, and confirm `postman`
on `PATH` resolves to that copy.

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

SHA-256: 839521f978a8a74990146ccd73eebba714088af3a3ed161f6096bd5456416910