Explore Postman’s command-line companion
Explore Postman’s command-line companion
The Postman CLI is a secure command-line companion for Postman. It’s signed and supported by Postman, like the Postman app. The Postman CLI supports the following features:
- Run basic CLI commands to get help and version information.
- Authenticate with Postman from the command line.
- Check API specifications against configured API governance rules.
- Run and manage collections with extensive configuration options and built-in reporters.
- Create and manage datasets with reusable data sources, SQL queries, and saved views.
- Deploy and trigger Postman Flows for API workflow automation.
- Start mock servers to simulate API behavior for testing and development.
- Run monitors and performance tests to check your API’s health and performance, and catch regressions.
- Start monitoring runners in your internal network to monitor APIs with private endpoints.
- Initialize application configuration and run application tests with network capture and Application Inventory reporting.
- Give coding agents Postman CLI context for API discovery, code generation, and maintenance tasks.
- Publish API versions in the Postman v11 API Builder from the command line.
- Test individual HTTP requests directly from the command line.
- Generate and manage client SDKs from your Postman Collections and API specifications.
- Search for Postman elements such as requests, collections, workspaces, flows, mocks, environments, and specifications.
- Run simulations against local mock servers to test how your service responds to disruptions and performance constraints.
- Create, manage, and forward webhooks for event-driven integrations and local development.
- Validate, synchronize, and push local Postman elements to workspaces in the Postman cloud.
Use the built-in terminal in the Postman desktop app to quickly run Postman CLI commands when using Native Git.