Postman CLI (Internal)
Note: This is an internal testing package. The production package will be @postman/postman-cli.
A command-line companion utility for Postman that allows you to run collections, manage environments, and integrate with your CI/CD pipeline.
Installation
npm install -g @postman/postman-cli-internal
Usage
postman collection run my-collection.json
postman collection run my-collection.json -e environment.json
postman --help
API Usage
const postman = require('@postman/postman-cli-internal');
postman('collection', 'run', 'my-collection.json');
Platform Support
This package automatically downloads the appropriate binary for your platform:
- macOS (Intel & Apple Silicon)
- Linux (x64)
- Windows (x64)
Documentation
For full documentation, visit the Postman CLI documentation.
Support