Official Postman CLI - Command-line companion for API development, testing, and automation
The Postman CLI brings the power of Postman’s API platform directly to your terminal. It lets you run collections, automate tests, integrate API checks into CI/CD pipelines, and enforce quality gates — all with a single, lightweight command-line tool. Whether you’re debugging locally, scaling systems, or embedding API workflows into your build system, the Postman CLI helps you bridge the gap between collaborative API design in Postman and automated execution in your development and production environments.
``bash`
npm install -g postman-cli
For direct binary downloads, platform-specific installers, or other installation methods, see the Installation Guide.
`bashGet help
postman --help
Platform Support
This package automatically downloads the appropriate binary for your platform:
- macOS (Intel & Apple Silicon)
- Linux (x64 & ARM64)
- Windows (x64)
> Note: Linux support excludes Alpine Linux distributions due to libc compatibility requirements.
Troubleshooting Installation
The Postman CLI relies on platform-specific binaries distributed as optional dependencies. If you encounter "Binary not found" errors, ensure you're not using
--no-optional or --omit=optional flags during installation, and verify that your .npmrc configuration doesn't contain optional=false. Installation failures may also occur due to network/registry access issues blocking @postman/*` scoped packages or when using an unsupported platform architecture.- Complete Documentation - Full guide with examples and advanced usage
- Installation Guide - All installation methods and platform-specific instructions
- Command Reference - Complete list of commands and options
- Release Notes - Latest versions and changelog
- Postman Support – For general support and troubleshooting
- GitHub Issues – For bug reports and feature requests