
CLI install
Installs the Postman CLI globally so the postman command works on PATH
CLI install is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 49
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About CLI install
This skill walks an agent through installing the Postman CLI when it is missing or the postman command returns "command not found". It offers three routes: a global npm install for any platform with Node, a shell script for macOS, Linux and WSL, and a PowerShell script for Windows.
After installing, the agent is asked to report the installed version and which route produced it, then confirm that the postman executable on PATH resolves to that copy. If installation is blocked, the skill points the agent to the hosted postman-mcp-server for Postman operations instead.
The skill is instructions only, with no bundled scripts. It relies on the agent having a shell and, for the npm route, Node installed.
When your agent uses it
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".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (1 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the postman plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add postmanlabs/postman-plugin
/plugin install postman@postmanOr copy only this skill to ~/.claude/skills/cli-install:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/cli-install &&
cp -R "$tmp/agent-plugin/skills/cli-install" ~/.claude/skills/cli-install &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/cli-install inside it instead.
Copy the skill folder to ~/.agents/skills/cli-install to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/cli-install &&
cp -R "$tmp/agent-plugin/skills/cli-install" ~/.agents/skills/cli-install &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/cli-install inside it instead.
Copy the skill folder to ~/.cursor/skills/cli-install to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/cli-install &&
cp -R "$tmp/agent-plugin/skills/cli-install" ~/.cursor/skills/cli-install &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/cli-install inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/postmanlabs/postman-plugin.git --path agent-plugin/skills/cli-installOr copy the folder to ~/.gemini/skills/cli-install yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/cli-install:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/cli-install &&
cp -R "$tmp/agent-plugin/skills/cli-install" ~/.copilot/skills/cli-install &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/cli-install inside it instead.
Get the folder:
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.gitThen copy postman-plugin/agent-plugin/skills/cli-install into your agent's skills folder as cli-install. Agents that support SKILL.md read one folder per skill.
What it does
- Global npm install
- Installs the postman-cli package globally with npm so the command is available system-wide.
- Platform install scripts
- Provides shell commands for macOS, Linux and WSL and a PowerShell command for Windows.
- Install verification
- Checks the installed version and confirms the postman command resolves on PATH.
- Hosted MCP fallback
- Directs the agent to postman-mcp-server for hosted operations when local installation is blocked.
Good for
- Install the Postman CLI on my machine
- Fix a "postman: command not found" error
- Set up the Postman CLI on a Windows laptop
- Check that the Postman CLI is installed and on my PATH
CLI install FAQ
What does CLI install need to run?
It needs a shell to run the install commands. The npm route requires Node, and the Windows route uses PowerShell.
When does the skill trigger?
It triggers when the Postman CLI is missing or cannot be installed, when postman returns command not found, or on requests such as installing the Postman CLI.
What happens if installation is blocked?
The skill falls back to the hosted postman-mcp-server for hosted Postman operations.
How do I install CLI install in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/cli-install to use it in all your projects, or to .claude/skills/cli-install in one project. Or install the postman plugin, which includes it: /plugin marketplace add postmanlabs/postman-plugin, then /plugin install postman@postman.
Does CLI install run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use CLI install?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to CLI install?
The closest alternatives to CLI install are MCP testing, Find skills, Add marketplace, Use pnpm and Install atk.
Where this comes from
- Description: from the skill's own SKILL.md.
More from postmanlabs/postman-plugin

Guides an agent through wiring a new vendor plugin route into the Postman plugin repo
- Open source
- 49 GitHub stars
- Developer tools

Walks an agent through cutting and publishing npm releases of the Postman plugin installer
- Open source
- 49 GitHub stars
- Developer tools

Scores how well an API contract lets AI agents discover, call and recover from errors
- Open source
- 49 GitHub stars
- Developer tools

Finds existing API contracts, mocks and consumers so agents reuse them instead of guessing
- Open source
- 49 GitHub stars
- Developer tools

Keeps API contracts, examples and published docs accurate for callers, tests and mocks
- Open source
- 49 GitHub stars
- Developer tools

Guides an agent through multi-step HTTP API work using Postman skills and shared contracts
- Open source
- 49 GitHub stars
- Legal and government



