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

Collection commands

Request commands

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

Monitoring and performance commands

Application commands

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

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

Flows commands

API governance commands

Mock server commands

Simulator commands

Publish API versions commands

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.