Postman CLI

Run, test, and validate your APIs from the command line to keep quality checks fast and seamless in your workflow.

Get Started for Free
Private APIs Hero. Illustration.

Ensure API quality at scale without adding more tools to your stack

Works where you work

Execute Postman CLI locally, in CI/CD, containers, or cloud pipelines so tests run right alongside your code.

Same collections, new surface

Reuse the same collections you built in Postman from your terminal, without needing to re-create tests or scripts.

Automated quality checks

Enforce quality gates by configuring a YAML file to run Postman CLI in your pipeline and decide pass/fail actions, so you can catch issues early.

Postmanauts jumping for joy. Illustration.

Run collections in CI/CD

Catch bugs before code hits production with the Postman CLI integration. Automated test suites use the same collections you use in Postman, keeping quality gates consistent across dev, staging, and production.

Read the docs →

Customize reporting

View run results right in the terminal, export them as JSON or JUnit, or generate a polished HTML report. You can use multiple reporters at once or create your own custom formats to fit your workflow. Sharing clean reports with your team or feeding results into dashboards and CI/CD pipelines keeps everyone aligned after each run.

Explore trending APIs. Illustration.
Postmanauts jumping for joy. Illustration.

Validate schemas

Ensure your API schemas meet governance and security rules in Spec Hub from the command line. Every time you run a collection or a deployment you can enforce standards and release APIs with confidence.

Reuse business logic with the package library

Run collections with shared packages for auth, variables, and logic, so you don’t have to repeat the same code in every test. Centralized updates keep workflows consistent across your team, making tests easier to maintain and scale.

Reuse business logic with the package library. Illustration.
Postmanauts jumping for joy. Illustration.

Publish API versions from the CLI

Postman CLI lets you publish new API versions directly from your terminal. Automate versioning with release notes, collections, and schema updates, so you can standardize releases and keep your APIs in sync with your development workflow.

Sling Logo
Quote

With Postman, teams have seen a significant increase in developer productivity facilitated by automation. Plus the visibility it gives our teams makes it easier to spot integration issues early and catch errors before they reach the user experience.

Kirti Kulkarni

Senior Principal Architect, Sling TV/ DISH Network

Your AI strategy is only as strong as your APIs

Postman helps teams collaboratively build APIs that power workflows and intelligent agents. With support for the Model Context Protocol (MCP), your APIs are integration ready. Learn how top teams avoid pitfalls and rescue APIs from chaos.

Learn more