# CLI install

> CLI install is an open-source agent skill for developer tools. Installs the Postman CLI globally so the postman command works on PATH. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/postmanlabs/postman-plugin/tree/main/agent-plugin/skills/cli-install
- **Repository:** https://github.com/postmanlabs/postman-plugin
- **GitHub stars:** 49
- **License:** Apache-2.0
- **Skill name:** cli-install
- **Collection:** https://github.com/postmanlabs/postman-plugin
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/postmanlabs/postman-plugin/tree/HEAD/agent-plugin/skills/cli-install)
- [License: Apache-2.0](https://github.com/postmanlabs/postman-plugin/tree/HEAD/agent-plugin/skills/cli-install)

## Features

- **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

## Install

### Claude Code

This skill ships in the `postman` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add postmanlabs/postman-plugin
/plugin install postman@postman
```

Or copy only this skill to `~/.claude/skills/cli-install`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/cli-install` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/cli-install` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/postmanlabs/postman-plugin.git --path agent-plugin/skills/cli-install
```

Or copy the folder to `~/.gemini/skills/cli-install` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/cli-install`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git
```

Then 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.

## 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.

## Alternatives

- [MCP testing](https://ai-powered.com/skills/mcp-testing): MCP testing is an open-source agent skill for developer tools.
- [Find skills](https://ai-powered.com/skills/find-skills-melandlabs): Find skills is an open-source agent skill for developer tools.
- [Add marketplace](https://ai-powered.com/skills/add-marketplace): Add marketplace is an open-source agent skill for developer tools.
- [Use pnpm](https://ai-powered.com/skills/use-pnpm): Use pnpm is an open-source agent skill for developer tools.
- [Install atk](https://ai-powered.com/skills/install-atk): Install atk is an open-source agent skill for developer tools.
- [Release installer](https://ai-powered.com/skills/release-installer): Release installer is an open-source agent skill for developer tools.
- [Find skills](https://ai-powered.com/skills/find-skills): Find skills is an open-source agent skill for developer tools.
- [Parallel CLI setup](https://ai-powered.com/skills/parallel-cli-setup): Parallel CLI setup is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/cli-install
