Postman CLI

Postman, Inc. · Postman’s command-line tool for running API collections and managing Postman elements from a terminal or CI/CD pipeline.

Cask開發工具自帶更新Apple 晶片 · Intel
主頁
來自 homebrew/cask
近 30 天安裝
291
App榜第 497
近一年安裝
2674
365 天累計
最新版本
1.76.0
前天 · 10月22日
下載大小
115MB
arm64 / x86_64
更新節奏
每週
近 30 天 12 個版本

Postman CLI 是一款開發工具類 Mac 軟體。開發者是 Postman, Inc.。

基本資訊

晶片
Apple 晶片 · Intel
開發者
Postman, Inc.
安裝命令
brew install --cask postman-cli
Homebrew
可以安裝,應用會自行更新
其他名稱
postman-cli

以上資訊最早核查於 。檢視各項來源

介紹

Postman CLI is Postman’s official signed command-line tool. The Homebrew cask installs the postman executable; it does not install the separate Postman desktop application or provide a standalone macOS graphical interface.

API testing and automation

The CLI runs Postman collections from a local path or an identifier, providing a terminal-based workflow for automated API tests and CI/CD pipelines. The current official overview also documents management of collections, environments and workspace elements, API specification validation, mocks, monitoring and performance tests. Availability of some commands depends on the Postman plan, and the live documentation describes the current CLI rather than guaranteeing every command exists in the recorded 1.70.0 build.

Working with scripts

The official documentation describes non-interactive execution and machine-readable --json output on many commands. A typical collection workflow uses postman collection run <path-or-id>. Authenticate with postman login when a workflow needs account access, or use the documented project initialization workflow where appropriate. Consult the command reference for options and account requirements before running in CI.

macOS package

Install this exact cask with brew install --cask postman-cli. The recorded Homebrew artifact for version 1.70.0 targets Apple silicon, with a separate Intel artifact. This package is distinct from Newman, the open-source collection runner, and from the Postman desktop app; their repositories or screenshots must not be represented as this executable. No official public source-code repository for this CLI distribution has been established from the inspected product documentation.

Sources

系統要求

macOS應用版本晶片下載來源
適用於 macOS 27, 26, 15, 14, 13, 12, 11 的版本1.76.0Inteldl-cli.pstmn.io/download/version/1.76.0/osx64SHA-256 134908a4ecd579920d32a205834246088f752169e2b0904c9b029896aaae6615Homebrew核查於
適用於 macOS 27, 26, 15, 14, 13, 12, 11 的版本1.76.0Apple 晶片dl-cli.pstmn.io/download/version/1.76.0/osx_arm64SHA-256 746cae21139bf3cfd2d4f3a678fea04b064dd5d330fcd75815b858a2a277c655Homebrew核查於

如何在 Mac 上安裝 Postman CLI

  1. 在「終端機」中執行: brew install --cask postman-cli

不用 Homebrew 安裝

按晶片下載 Homebrew 使用的檔案: Apple 晶片Intel

SHA-256 只用來核對下載的檔案是否完整,不代表安全認證。 檢視 SHA-256 和下載網址

解除安裝 Postman CLI 與可選的資料清理

解除安裝命令
brew uninstall --cask postman-cli

普通解除安裝會刪除應用本身,設定和快取會保留。

深度清理(可選)

解除安裝命令
brew uninstall --zap --cask postman-cli

--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。

Postman CLI 可能留在 Mac 上的檔案(1)
檔案和資料夾
~/.postman

以上條目來自 Homebrew 定義,核查於 ;它們只說明定義宣告會刪除什麼,不代表你的 Mac 上都有。

1.76.0 更新內容

新版本 來自 Homebrew 提交記錄

這個版本沒有單獨的更新說明。

Postman CLI 的安全事實

這裡只列可以核驗的事實,並註明來源和日期,不是安全認證。要檢查你下載的檔案,可以用 OpenNavo 在本機掃描。

分發渠道
Homebrew
用 OpenNavo 掃描會在 OpenNavo 用戶端中開啟掃描預覽,由你決定是否開始。 瞭解安全防護

安裝細節

來源倉庫
homebrew/cask
附帶命令
postman
下載網址
https://dl-cli.pstmn.io/download/version/1.76.0/osx_arm64
SHA-256
746cae21139bf3cfd2d4f3a678fea04b064dd5d330fcd75815b858a2a277c655
Homebrew 定義檔案
github.com/homebrew/homebrew-cask/blob/HEAD/Casks/p/postman-cli.rb
formulae.brew.sh
formulae.brew.sh/cask/postman-cli

安裝與解除安裝內容

  • 安裝 binary

    來源檔案: postman-cli

    宣告的目標位置: $HOMEBREW_PREFIX/bin/postman

    檢視完整宣告
    {
      "binary": [
        "postman-cli",
        {
          "target": "postman"
        }
      ],
      "target": "$HOMEBREW_PREFIX/bin/postman"
    }
  • 清理使用者資料 zap

    檢視完整宣告
    {
      "zap": [
        {
          "trash": "~/.postman"
        }
      ]
    }

關於 Postman CLI 的常見問題

Postman CLI 安全嗎?

Postman CLI 收錄在 Homebrew 官方軟體庫中,沒有被停用。自 2026 年 9 月起,Homebrew 會停用沒有通過 macOS Gatekeeper 檢查的應用。安裝時,Homebrew 會用 SHA-256 校驗值核對來自 dl-cli.pstmn.io 的安裝檔。過去 30 天,它透過 Homebrew 安裝了 291 次。

如何在 Mac 上徹底解除安裝 Postman CLI?

執行 brew uninstall --cask postman-cli。要連設定和快取一起刪除,執行 brew uninstall --zap --cask postman-cli。--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。這會同時刪除 ~/.postman。

Postman CLI 支援 Apple 晶片(M1 及更新)的 Mac 嗎?

支援。Homebrew 會為 Apple 晶片和 Intel 晶片的 Mac 分別下載不同的安裝檔。

Postman CLI 的設定和資料儲存在哪裡?

資料儲存在 ~/.postman。這些位置來自 Homebrew 的清理清單。

Postman CLI 的最新版本是多少?

最新版本是 1.76.0,Homebrew 收錄於 10月22日。Postman CLI 會自動更新;想用 Homebrew 更新時,執行 brew upgrade --cask --greedy postman-cli。

安裝 Postman CLI 還會裝上什麼?

還會裝上 1 個命令列工具:postman。

來源

頁面上的每項資料都註明來源和核查日期;過期的資料只寫「截至」某日,不再當作當前事實。