Postman CLI
Run, test, and validate APIs directly from your terminal or CI/CD pipelines.

Trusted by teams at
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 comprehensive tests using prompts
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.

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
RESOURCES
Go deeper with API testing using the Postman CLI
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.