# 使用 Homebrew 安装 bpmnlint

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

## 安装

```sh
sudo av install brew:bpmnlint
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bpmnlint
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:bpmnlint
- **软件包管理器:** Homebrew
- **版本:** 11.12.1
- **来源摘要:** Validate BPMN diagrams based on configurable lint rules
- **主页:** <https://github.com/bpmn-io/bpmnlint>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bpmnlint (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

bpmnlint is the bpmn.io linting tool for validating BPMN diagrams against configurable rules. It gives BPMN model files the same sort of repeatable command-line checks that source code gets from language linters.

### 项目历史

The official repository README presents bpmnlint as a command-line and Node.js library for validating BPMN diagrams, configured through `.bpmnlintrc` and rule sets such as `bpmnlint:recommended`. The first visible tagged alpha in the repository dates to September 2018, followed by v1.0.0 the next day.

The changelog shows steady rule and platform evolution: configurable rules, browser bundling, custom rule resolution, BPMN DI checks, moddle extensions, Node version requirements, and new correctness/recommended rule coverage.

### 采用历史

bpmnlint's adoption is mostly inside the BPMN and bpmn.io ecosystem. The README points to npm installation, custom plugins, visual feedback through bpmn-js-bpmnlint, a playground, generated docs images, and bundler integrations.

Homebrew packaging gives the CLI a system-package route, but the upstream distribution model is clearly npm and Node.js module resolution, especially for plugins named `bpmnlint-plugin-*`.

### 使用方式

Typical usage runs `bpmnlint invoice.bpmn` and receives line-item errors and warnings for process modeling problems such as missing start or end events, unlabeled elements, and sequence-flow issues.

Teams configure `.bpmnlintrc` with built-in rulesets, custom rule severities, plugins, and optional moddle extensions. The API also allows embedding linting in Node.js tools that parse BPMN XML with bpmn-moddle.

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

bpmnlint is notable because it packages a domain-specific modeling discipline as a familiar CLI linter. It brings BPMN quality checks into CI and editor workflows instead of leaving validation only inside graphical modeling tools.

For package collections, it is a niche but useful example of Node-based developer tooling escaping npm-only usage and becoming a command installed by system package managers.

### 时间线

- 2018: v1.0.0-alpha5 and v1.0.0 tags appear in September.
- 2020: 7.8.0 added configurable rules according to the changelog.
- 2024: 11.0.0 required Node 20 according to the changelog.
- 2026: 11.12.1 tag appears in the official GitHub repository.

### Related projects

- The README names bpmn-js-bpmnlint for visual modeling feedback, bpmnlint-playground for trying rules, bpmnlint-plugin-example for plugin authors, and bpmn-moddle for BPMN XML parsing.
- It is part of the broader bpmn.io project family, alongside BPMN modeling, moddle, and browser-based BPMN tooling.

### 来源

- <https://github.com/bpmn-io/bpmnlint#readme>
- <https://github.com/bpmn-io/bpmnlint/blob/main/CHANGELOG.md>
- <https://github.com/bpmn-io/bpmnlint/tree/main/docs/rules>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .bpmnlintrc

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
