# 使用 Homebrew, Nix, MacPorts 安装 erlang-language-platform

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

## 安装

```sh
sudo av install brew:erlang-language-platform
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install erlang-language-platform
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install elp
```

  证据: MacPorts ports tree: erlang/elp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#erlang-language-platform
```

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

## 软件包事实

- **软件包键:** brew:erlang-language-platform
- **软件包管理器:** Homebrew
- **版本:** 2026-02-27
- **来源摘要:** LSP server and CLI for the Erlang programming language
- **主页:** <https://whatsapp.github.io/erlang-language-platform/>
- **仓库:** <https://github.com/WhatsApp/erlang-language-platform>
- **最后更新:** 2026-06-22T14:03:15-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- elp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Erlang Language Platform, usually invoked as `elp`, is WhatsApp's Erlang semantic-analysis and editor-tooling project. It provides an LSP language server, a CLI, static-analysis infrastructure, and integration with eqWAlizer type checking.

### 项目历史

The official repository was created in August 2023 and published a 0.1.0 GitHub release the same day. The README says ELP was designed at WhatsApp and inspired by rust-analyzer, with a scalable, fully incremental, IDE-first library for Erlang semantic analysis.

### 采用历史

ELP exists because classic Erlang editor integrations and OTP tools are not always suited to incremental editing of incomplete code. The FAQ says ELP acts as a compiler front-end and language server, effectively superseding Erlang LS for its intended use case, while being architecturally closer to rust-analyzer than to a thin wrapper around existing OTP tools.

### 使用方式

Users install `elp` and point their editor's language-server client at it for go-to-definition, references, call hierarchy, diagnostics, linting, refactoring support, and type checking. Project configuration is handled with `.elp.toml` and lint settings with `.elp_lint.toml`.

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

ELP is notable for bringing the rust-analyzer style of incremental compiler front-end to Erlang packaging. For package maintainers, it is a modern Rust-built developer tool serving an older BEAM language ecosystem, so it sits at the intersection of Erlang, LSP, Rust build tooling, and editor distribution.

### 时间线

- 2023: The GitHub repository was created.
- 2023: Version 0.1.0 was published on GitHub releases.
- 2020s: ELP documentation covers installation, editor setup, project configuration, and lint configuration for Erlang projects.

### Related projects

- ELP is related to Erlang LS, rust-analyzer, Tree-sitter, Salsa, LSP clients, and eqWAlizer.

### 来源

- <https://github.com/WhatsApp/erlang-language-platform>
- <https://github.com/WhatsApp/erlang-language-platform/blob/main/FAQ.md>
- <https://github.com/WhatsApp/erlang-language-platform/releases>
- <https://api.github.com/repos/WhatsApp/erlang-language-platform>
- <https://whatsapp.github.io/erlang-language-platform>


## 安全说明

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal


## 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: .elp.toml, .elp_lint.toml
## 其他软件包管理器记录

- Nix - erlang-language-platform: normalized package name match | nixpkgs package indexes: pkgs/by-name/er/erlang-language-platform/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - elp: installed executable or alias match | MacPorts ports tree: erlang/elp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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