# 使用 Homebrew 安装 syntaxerl

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install syntaxerl
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:syntaxerl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/syntaxerl>
- **版本:** 0.15.0
- **来源摘要:** Syntax checker for Erlang code and config files
- **主页:** <https://github.com/ten0s/syntaxerl>
- **仓库:** <https://github.com/ten0s/syntaxerl>
- **许可证:** MIT
- **源码归档:** <https://github.com/ten0s/syntaxerl/archive/refs/tags/0.15.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- syntaxerl (cli)
- syntaxerl (别名)

## 依赖

- erlang

## 构建依赖

- rebar3

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.15.0
- 本地数据: OK
- 上游仓库: https://github.com/ten0s/syntaxerl
- 检测到的最新版本: 0.15.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** syntaxerl
- **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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [erlang](https://pkg.so/zh-hans/brew/erlang/) - Runtime dependency declared by Homebrew.
- [rebar3](https://pkg.so/zh-hans/brew/rebar3/) - Build dependency declared by Homebrew.
- [elvis](https://pkg.so/zh-hans/brew/elvis/) - Shares pkgdb curated category or tags: cli, developer-tools, erlang, linter.
- [vint](https://pkg.so/zh-hans/brew/vint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, vim.
- [dscanner](https://pkg.so/zh-hans/brew/dscanner/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, syntax-checker.
- [neovim](https://pkg.so/zh-hans/brew/neovim/) - Shares pkgdb curated category or tags: cli, developer-tools, vim.
- [swiftlint](https://pkg.so/zh-hans/brew/swiftlint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter.
- [ruff](https://pkg.so/zh-hans/brew/ruff/) - Shares pkgdb curated category or tags: cli, developer-tools, linter.
- [ansible-lint](https://pkg.so/zh-hans/brew/ansible-lint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter.
- [biome](https://pkg.so/zh-hans/brew/biome/) - Shares pkgdb curated category or tags: cli, developer-tools, linter.
- [codebook-lsp](https://pkg.so/zh-hans/brew/codebook-lsp/) - Local package facts share a topical domain. Shared terms: checker, cli, code, developer, developer-tools.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
