# 使用 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
- **版本:** 6.2.2
- **来源摘要:** Command-line collection runner for Postman
- **主页:** <https://www.getpostman.com>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- newman (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 6.2.2
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
