Test & Validate

Postman CLI

Run, test, and validate APIs directly from yourterminal or CI/CD pipelines.

Get Started$ npm install -g postman-cli

Or read the docs

Trusted by teams at

PayPal logo
Moneris logo
Autodesk logo
Kroger logo
Cover Genius logo
Siemens logo
ZEISS logo
PayPal logo
Moneris logo
Autodesk logo
Kroger logo
Cover Genius logo
Siemens logo

Bring API workflows into your CI/CD pipeline

Pipeline-native testing

Run your Postman collections anywhere your CI/CD pipeline runs without having to maintain separate test infrastructure.

Automated quality gates

Block releases when API tests fail with pipeline-aware exit codes so broken APIs never reach production.

Always in sync

The Postman CLI pulls the latest collections and environments from Postman automatically so your pipeline always tests the current version.

Generate scripts with Postman AI. Run them in CI/CD.

Postman AI writes test scripts that can then be executed in your CI/CD pipeline using the Postman CLI, providing you with full test coverage in seconds.

Postman AI generating comprehensive test scripts for Postman CLI execution
Ask Postman AI

Sling TV 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

Learn more about the Postman CLI

Chat with a Postman expert to learn how the Postman CLI can help your organization run API tests in every pipeline, gate deployments on results, and keep your APIs production-ready.

Postman CLI demo illustration