# 使用 Homebrew, apk, Nix 安装 emmylua_ls

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

## 安装

```sh
sudo av install brew:emmylua_ls
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install emmylua_ls
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add emmylua-ls
```

  证据: Alpine Linux edge package indexes: emmylua-ls from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#emmylua-ls
```

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

## 软件包事实

- **软件包键:** brew:emmylua_ls
- **软件包管理器:** Homebrew
- **版本:** 0.24.0
- **来源摘要:** Lua Language Server
- **主页:** <https://github.com/EmmyLuaLs/emmylua-analyzer-rust>
- **仓库:** <https://github.com/EmmyLuaLs/emmylua-analyzer-rust>
- **最后更新:** 2026-07-10T16:19:39Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- emmylua_check (别名)
- emmylua_doc_cli (别名)
- emmylua_ls (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

EmmyLua Language Server is the packaged language-server entry point from EmmyLua Analyzer Rust, a Rust implementation of Lua tooling that bundles LSP support, static analysis, formatting, and documentation generation for Lua projects.

### 项目历史

The project presents itself as EmmyLua Analyzer Rust and positions the Rust implementation around fast incremental analysis for Lua 5.1 through 5.5 and LuaJIT, while retaining compatibility with EmmyLua and Luacats annotation styles used by existing Lua codebases.

### 采用历史

The official README documents editor use through the standard Language Server Protocol, including setup notes for VS Code, Neovim, IntelliJ, and other LSP-capable editors. Package-manager presence in Homebrew, Nix, and Alpine reflects its role as a standalone tool rather than only an editor extension.

### 使用方式

Users install `emmylua_ls` and point an editor LSP client at the executable, usually with `.emmyrc.json` or `.luarc.json` in the project root. Companion commands such as `emmylua_check`, `emmylua_formatter`, and `emmylua_doc_cli` cover CI-oriented analysis, formatting, and documentation generation.

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

For package managers, `emmylua_ls` is a neat example of the modern LSP packaging pattern: one CLI binary makes the same language intelligence available to many editors, so the package matters to Neovim and terminal-heavy Lua developers as much as to GUI editor users.

### Related projects

- The tool sits in the Lua LSP ecosystem alongside editor plugins such as the EmmyLua extension and other Lua language servers, while also supporting annotation conventions from EmmyLua and Luacats.

### 来源

- <https://github.com/EmmyLuaLs/emmylua-analyzer-rust>


## 安全说明

没有找到 emmylua_ls 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: .emmyrc.json, .luarc.json
## 其他软件包管理器记录

- Nix - emmylua-ls: normalized package name match | nixpkgs package indexes: pkgs/by-name/em/emmylua-ls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - emmylua-check - 0.21.0-r0: normalized package name match | Alpine Linux edge package indexes: emmylua-check from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | EmmyLua static analysis tool | https://github.com/EmmyLuaLs/emmylua-analyzer-rust
- apk - emmylua-doc-cli - 0.21.0-r0: normalized package name match | Alpine Linux edge package indexes: emmylua-doc-cli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Documentation generator for Lua source code and EmmyLua annotations | https://github.com/EmmyLuaLs/emmylua-analyzer-rust
- apk - emmylua-ls - 0.21.0-r0: normalized package name match | Alpine Linux edge package indexes: emmylua-ls from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | EmmyLua language server | https://github.com/EmmyLuaLs/emmylua-analyzer-rust
- apk - emmylua-ls-doc - 0.21.0-r0: normalized package name match | Alpine Linux edge package indexes: emmylua-ls-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | EmmyLua language server (documentation) | https://github.com/EmmyLuaLs/emmylua-analyzer-rust
- Nix - emmylua-check: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/em/emmylua-check/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Nix - emmylua-doc-cli: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/em/emmylua-doc-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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