# 使用 Homebrew, apk, apt, MacPorts, Nix, zypper 安装 efm-langserver

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

## 安装

```sh
sudo av install brew:efm-langserver
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install efm-langserver
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install efm-langserver
```

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

### Linux

- apk (92%):

```sh
sudo apk add efm-langserver
```

  证据: Alpine Linux edge package indexes: efm-langserver from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install efm-langserver
```

  证据: Debian stable package indexes: efm-langserver from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#efm-langserver
```

  证据: nixpkgs package indexes: pkgs/by-name/ef/efm-langserver/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install efm-langserver
```

  证据: openSUSE Tumbleweed package metadata: efm-langserver from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:efm-langserver
- **软件包管理器:** Homebrew
- **版本:** 0.0.57
- **来源摘要:** General purpose Language Server
- **主页:** <https://github.com/mattn/efm-langserver>
- **仓库:** <https://github.com/mattn/efm-langserver>
- **最后更新:** 2026-07-25T14:23:18-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- efm-langserver (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

efm-langserver is a general-purpose Language Server Protocol bridge for external linters, formatters, hover commands, completion commands, and other command-line tools.

### 项目历史

The public repository was created in 2019 by mattn. Its README describes a language server that parses error-message formats from configured commands, which lets editors consume ordinary CLI linting and formatting tools through LSP.

### 采用历史

The project grew with the editor shift toward LSP clients. Its README includes setup examples for vim-lsp, coc.nvim, Emacs Eglot, Neovim built-in LSP via nvim-lspconfig, Helix, and VSCode, showing adoption across several editor families.

### 使用方式

Users install efm-langserver, create config.yaml, and map languages to external commands. The server does not bundle the linters or formatters; users install tools such as yapf, isort, markdownlint-cli, jq, eslint, black, mypy, or prettier separately.

Configuration can come from a config.yaml file or from LSP DidChangeConfiguration notifications, with documented Unix and Windows default paths.

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

efm-langserver matters in package metadata because it is glue: one binary can expose many existing command-line tools to any LSP-capable editor, reducing the need for per-editor integrations.

### 时间线

- 2019: Public GitHub repository created.
- 2026: v0.0.56 published.

### Related projects

- Related projects are the Language Server Protocol itself, vim-lsp, coc.nvim, Eglot, nvim-lspconfig, Helix, VSCode, and the many external linters and formatters configured behind efm-langserver.

### 来源

- <https://github.com/mattn/efm-langserver>
- <https://raw.githubusercontent.com/mattn/efm-langserver/master/README.md>
- <https://api.github.com/repos/mattn/efm-langserver>
- <https://github.com/mattn/efm-langserver/releases/tag/v0.0.56>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool 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: $XDG_CONFIG_HOME/efm-langserver/config.yaml, ~/.config/efm-langserver/config.yaml
- Windows: %APPDATA%\efm-langserver\config.yaml
## 其他软件包管理器记录

- Debian apt - efm-langserver - 0.0.54-1+b4: normalized package name match | Debian stable package indexes: efm-langserver from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | General purpose Language Server (program) | https://github.com/mattn/efm-langserver
- Nix - efm-langserver: normalized package name match | nixpkgs package indexes: pkgs/by-name/ef/efm-langserver/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - efm-langserver - 0.0.50-1: normalized package name match | Ubuntu 24.04 LTS package indexes: efm-langserver from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | General purpose Language Server (program) | https://github.com/mattn/efm-langserver
- apk - efm-langserver - 0.0.57-r1: normalized package name match | Alpine Linux edge package indexes: efm-langserver from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | General purpose language server | https://github.com/mattn/efm-langserver
- apk - efm-langserver-doc - 0.0.57-r1: normalized package name match | Alpine Linux edge package indexes: efm-langserver-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | General purpose language server (documentation) | https://github.com/mattn/efm-langserver
- zypper - efm-langserver - 0.0.54-1.8: normalized package name match | openSUSE Tumbleweed package metadata: efm-langserver from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | General purpose language server | https://github.com/mattn/efm-langserver
- MacPorts - efm-langserver: normalized package name match | MacPorts ports tree: devel/efm-langserver/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/efm-langserver.yml](https://github.com/mxcl/pkgdb/blob/main/combined/efm-langserver.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
