
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
postman-cli
Advanced tools
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.
npm install -g postman-cli
For direct binary downloads, platform-specific installers, or other installation methods, see the Installation Guide.
# Get help
postman --help
# Sign in to Postman
postman login
# Sign in to Postman and EU region
postman login --region eu
# Sign in using API key
postman login --with-api-key <api-key>
# Sign in using API key and EU region
postman login --with-api-key <api-key> --region eu
# Run a collection
postman collection run <collection-id>
# Run with environment
postman collection run <collection-id> -e <environment-id>
# Run a monitor
postman monitor run <monitor-id>
# Check API governance and security rules
postman api lint <api-id>
This package automatically downloads the appropriate binary for your platform:
Note: Linux support excludes Alpine Linux distributions due to libc compatibility requirements.
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.
FAQs
Official Postman CLI - Command-line companion for API development, testing, and automation
The npm package postman-cli receives a total of 739 weekly downloads. As such, postman-cli popularity was classified as not popular.
We found that postman-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.