New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

postman-cli

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postman-cli

Official Postman CLI - Command-line companion for API development, testing, and automation

npmnpm
Version
1.20.0
Version published
Weekly downloads
5.1K
56.94%
Maintainers
3
Weekly downloads
 
Created
Source

Postman Logo

Postman CLI

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.

Installation

npm

npm install -g postman-cli

Alternative Installation Methods

For direct binary downloads, platform-specific installers, or other installation methods, see the Installation Guide.

Usage

# 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>

Platform Support

This package automatically downloads the appropriate binary for your platform:

  • macOS (Intel & Apple Silicon)
  • Linux (x64)
  • Windows (x64)

Note: Linux support excludes Alpine Linux distributions due to libc compatibility requirements. For Alpine environments, consider using alternative installation methods or running from a glibc-based base image.

Resources

Support

Keywords

postman

FAQs

Package last updated on 07 Oct 2025

Did you know?

Socket

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.

Install

Related posts