# 使用 Homebrew, Nix 安装 newman

查看 newman 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:newman
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install newman
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#newman
```

  证据: nixpkgs package indexes: pkgs/by-name/ne/newman/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:newman
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/newman>
- **版本:** 6.2.2
- **来源摘要:** Command-line collection runner for Postman
- **主页:** <https://www.getpostman.com>
- **上游文档:** <https://www.getpostman.com>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/newman/-/newman-6.2.2.tgz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- newman (cli)
- newman (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 6.2.2
- 本地数据: OK
- 上游仓库: https://www.getpostman.com
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Newman is Postman's command-line collection runner. It turns Postman collections into repeatable CLI, CI, Docker, and Node.js library workflows, making Postman tests usable outside the desktop app.

### 项目历史

The npm package was created on 2014-04-29 and had 172 published versions with latest 6.2.2 when researched on 2026-07-01. GitHub's release feed shows v6.0.0 on 2023-09-14, v6.2.0 on 2024-08-16, v6.2.1 on 2024-08-20, and v6.2.2 on 2026-01-16. The repository and docs are maintained under postmanlabs.

### 采用历史

Newman is the largest-adoption package in this batch by a wide margin. npm reported 37,462,167 downloads for the year ending 2026-06-28, reflecting its role as the standard way to run Postman collections in automated environments. Homebrew adoption is smaller because many users install via npm or Docker, but Homebrew still reported 2,541 install-on-request events over 365 days.

### 使用方式

The normal workflow is `newman run <collection>`, optionally with environment files, globals, iteration data, folder selection, timeouts, reporters, export flags, and SSL/proxy settings. The README and Postman docs also describe using Newman as a Node.js module and running collections fetched from the Postman API.

In CI, package nerds use Newman to keep API smoke tests and contract-ish Postman collections under version control, emit JUnit/JSON/HTML reports, fail builds on request/test failures, and integrate community reporters such as htmlextra, CSV, Allure, statsd, Confluence, or InfluxDB.

### 为什么软件包爱好者会关心

Newman is significant because it made Postman collections portable. Instead of keeping API checks trapped in a GUI workspace, teams can run the same collection in GitHub Actions, Jenkins, Docker, local scripts, or a Node process.

### 时间线

- 2014-04-29: npm registry shows the newman package creation date.
- 2023-09-14: GitHub release feed shows v6.0.0.
- 2024-08-16: GitHub release feed shows v6.2.0.
- 2026-01-16: GitHub release feed shows v6.2.2.
- 2026-06-28: npm download endpoint reported 37,462,167 downloads for the previous year.
- 2026-07-01: Homebrew formula API reported stable 6.2.2 and 2,541 install-on-request events over 365 days.

### Related projects

- Postman collections, environments, and the Postman API are the main ecosystem inputs.
- Community reporter packages using the `newman-reporter-*` naming pattern extend output for CI dashboards and reporting tools.

### 来源

- <https://api.npmjs.org/downloads/point/last-year/newman>
- <https://formulae.brew.sh/api/formula/newman.json>
- <https://formulae.brew.sh/formula/newman>
- <https://github.com/postmanlabs/newman>
- <https://github.com/postmanlabs/newman/releases.atom>
- <https://learning.postman.com/docs/reference/newman-cli/command-line-integration-with-newman>
- <https://raw.githubusercontent.com/postmanlabs/newman/develop/README.md>
- <https://registry.npmjs.org/newman>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** newman
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - newman: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/newman/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [stepci](https://pkg.so/zh-hans/brew/stepci/) - Shares pkgdb curated category or tags: api-testing, ci, cli, developer-tools.
- [keploy](https://pkg.so/zh-hans/brew/keploy/) - Shares pkgdb curated category or tags: api-testing, cli, developer-tools.
- [req](https://pkg.so/zh-hans/brew/req/) - Shares pkgdb curated category or tags: api-testing, cli, developer-tools.
- [resterm](https://pkg.so/zh-hans/brew/resterm/) - Shares pkgdb curated category or tags: api-testing, cli, developer-tools.
- [jikken](https://pkg.so/zh-hans/brew/jikken/) - Shares pkgdb curated category or tags: api-testing, ci, cli, developer-tools.
- [kubeconform](https://pkg.so/zh-hans/brew/kubeconform/) - Shares pkgdb curated category or tags: ci, cli, developer-tools.
- [actionlint](https://pkg.so/zh-hans/brew/actionlint/) - Shares pkgdb curated category or tags: ci, cli, developer-tools.
- [fastlane](https://pkg.so/zh-hans/brew/fastlane/) - Shares pkgdb curated category or tags: ci, cli, developer-tools.
- [newman](https://pkg.so/zh-hans/npm/newman/) - Same normalized package name appears in another local ecosystem. Shared terms: api, api-testing, ci, cli, collection.
- [bruno-cli](https://pkg.so/zh-hans/brew/bruno-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: api, api-testing, cli, developer, developer-tools.
- [newman](https://pkg.so/zh-hans/npm/newman/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/newman.yml](https://github.com/mxcl/pkgdb/blob/main/combined/newman.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
