Postman CLI commands and options overview

View as Markdown

Availability of some Postman CLI commands depend on your Postman plan.

The Postman CLI provides a comprehensive set of commands for working with Postman from the command line. These commands are organized by functionality to help you quickly find the tools you need for your specific workflow.

Command categories

The Postman CLI commands are organized into the following categories:

Basic CLI commands

Authentication commands

Workspace commands

Team commands

Collection commands

Dependency commands

Environment commands

Globals commands

Request commands

  • postman request — Test and debug individual HTTP requests from the command line.

Monitoring and performance commands

Application commands

  • postman app test — Run your application’s existing UI test command, capture the network traffic generated during the run, and validate observed API calls against requests in your collections.

  • postman app setup-capture — Set up automatic network capture for your Playwright tests.

  • postman app init — Deprecated. Initialize your project as an Application Inventory application.

Flows commands

API governance commands

Mock server commands

Dataset commands

Search commands

Simulator commands

Publish API versions commands

SDK commands

Coding agent commands

  • postman describe — Aggregate all the information that a coding agent needs to generate accurate code.

Context Graph commands

Skills commands

Webhooks commands

Usage analytics

Several Postman CLI commands report usage analytics to Postman by default. To turn this reporting off for a command, pass --report-events=false (or --no-report-events).

The Postman CLI also records a minimal, anonymous usage event for many of its commands, so Postman can measure overall CLI usage. These events contain no personal data, file paths, request URLs, or resource names. They include only anonymous IDs, flags, and counts. They’re separate from the reporting that --report-events controls, so --report-events=false doesn’t turn them off.

Get started

To begin using the Postman CLI, do the following:

  1. Install the Postman CLI.
  2. Explore the specific command categories that match your workflow.

Each command category page provides detailed options, examples, and use cases to help you integrate the Postman CLI into your development and testing workflows.