# 使用 Homebrew 安装 syntaxerl

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

## 安装

```sh
sudo av install brew:syntaxerl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install syntaxerl
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:syntaxerl
- **软件包管理器:** Homebrew
- **版本:** 0.15.0
- **来源摘要:** Syntax checker for Erlang code and config files
- **主页:** <https://github.com/ten0s/syntaxerl>
- **仓库:** <https://github.com/ten0s/syntaxerl>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- syntaxerl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

SyntaxErl is a command-line syntax checker for Erlang source, header, application, release, escript, Leex, and Yecc files. It is designed primarily as a backend for editor diagnostics.

### 项目历史

The official repository was created in June 2012. SyntaxErl grew as a focused wrapper around Erlang parsing and compilation behavior, reading project dependency and library paths from rebar, rebar3, or erlang.mk projects rather than maintaining a separate application configuration.

Its compatibility expanded beyond `.erl` files to Erlang headers and configuration artifacts, escripts, Leex lexer sources, and Yecc parser sources. The README documents the 0.16 command-line interface and editor setup.

### 采用历史

SyntaxErl was integrated into Emacs Flymake and Vim tooling, first through Syntastic and later ALE. The supplied metadata records Homebrew packaging, giving editor users a system-managed way to install the checker on macOS and other Homebrew platforms.

### 使用方式

Users invoke `syntaxerl <filename>` directly or configure an editor linter to run it when Erlang files change or are saved. The checker relies on a buildable Erlang project and existing dependencies so it can resolve the same include, dependency, and library paths as the project's build tooling.

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

SyntaxErl represents the Unix editor-tool pattern of a narrow command-line checker serving several front ends. Its support for multiple generations of Erlang build tooling and several editor integrations makes a single packaged executable useful across otherwise different development setups.

### 时间线

- 2012: The official SyntaxErl repository was created.
- 2010s: SyntaxErl was integrated with Emacs Flymake and Vim Syntastic.
- 2010s–2020s: Support expanded to rebar3, erlang.mk, and Vim ALE workflows.

### Related projects

- Erlang/OTP supplies the language and compiler ecosystem; rebar, rebar3, and erlang.mk provide the project metadata SyntaxErl reads. Flymake, Syntastic, and ALE are the editor diagnostic front ends documented by upstream.

### 来源

- <https://github.com/ten0s/syntaxerl>
- <https://github.com/ten0s/syntaxerl#readme>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## 来源

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