# 使用 Homebrew, scoop 安装 elixir-ls

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

## 安装

```sh
sudo av install brew:elixir-ls
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install elixir-ls
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/elixir-ls
```

  证据: Scoop official bucket manifest trees: bucket/elixir-ls.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:elixir-ls
- **软件包管理器:** Homebrew
- **版本:** 0.31.1
- **来源摘要:** Language Server and Debugger for Elixir
- **主页:** <https://elixir-lsp.github.io/elixir-ls>
- **仓库:** <https://github.com/elixir-lsp/elixir-ls>
- **最后更新:** 2026-06-11T00:12:44Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- elixir-debug-adapter (别名)
- elixir-ls (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ElixirLS is the long-running Elixir language-server and debug-adapter package. It provides editor-independent code intelligence for Elixir Mix projects through the Language Server Protocol and step-through debugging through the Debug Adapter Protocol.

### 项目历史

The official Elixir language-server announcement describes the first Elixir LSP implementation as started by Jake Becker in 2017 alongside a Visual Studio Code implementation. It relied on ElixirSense for extracting language intelligence, then grew as LSP adoption grew across editors.

The same announcement says the implementation later moved into its own GitHub organization, with maintenance passing to Lukasz Samson and Jason Axelson. By 2024, the Elixir project announced an official Language Server team and described a path toward unifying ideas from ElixirLS, Lexical, and Next LS into shared code-intelligence infrastructure.

### 采用历史

ElixirLS became important because LSP turned editor integration from one-off plugins into a standard server/client contract. The Elixir project notes that, as LSP adoption grew, Elixir's implementation became the main way many Elixir users interacted with the language from their editors.

### 使用方式

In package-manager terms, ElixirLS is installed next to Elixir and started by an editor or plugin against a Mix project. The server runs in the background to provide diagnostics, completion, navigation, and other language intelligence; the bundled debug adapter is used by clients that speak the VS Code Debug Protocol.

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

ElixirLS matters to package nerds because it packages editor intelligence as a standalone executable instead of baking it into one editor extension. That makes it a natural Homebrew/Scoop-style developer-tool package and a compatibility pressure point whenever Elixir, Erlang/OTP, Mix, or the LSP/DAP specifications move.

### 时间线

- 2017: First Elixir LSP implementation started alongside Visual Studio Code support.
- 2017: Early ElixirLS changelog entries record Windows support and packaging changes for easier installs.
- 2024: The Elixir project announced an official Language Server team and described ElixirLS as the most complete and widely functional implementation among the existing options.
- 2026: ElixirLS 0.31 releases added support for Elixir 1.20 and OTP 29.

### Related projects

- ElixirSense supplies language-intelligence extraction used by ElixirLS.
- Lexical and Next LS are sibling Elixir language-server efforts discussed by the Elixir project in the 2024 official language-server announcement.
- Expert is the newer official language-server effort mentioned by the Elixir project as the follow-on unification work.

### 来源

- <https://elixir-lsp.github.io/elixir-ls/>
- <https://github.com/elixir-lsp/elixir-ls>
- <https://github.com/elixir-lsp/elixir-ls/blob/master/CHANGELOG.md>
- <https://github.com/elixir-lsp/elixir-ls/releases>
- <https://elixir-lang.org/blog/2024/08/15/welcome-elixir-language-server-team/>


## 安全说明

broad file, network, media, or database tool signal. escape, surveillance, or offensive capability signal.

- **Geiger 风险:** red / 中
- broad file, network, media, or database tool signal
- escape, surveillance, or offensive capability signal

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

- Scoop - main/elixir-ls: normalized package name match | Scoop official bucket manifest trees: bucket/elixir-ls.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/elixir-ls.yml](https://github.com/mxcl/pkgdb/blob/main/combined/elixir-ls.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
