# Install emmylua_ls with Homebrew, apk, Nix

Lua Language Server. Version 0.24.0 via Homebrew; verified 2026-07-10. Also installable with nix: nix profile install nixpkgs#emmylua-ls.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install emmylua_ls
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:emmylua_ls
- **Package manager:** Homebrew
- **Version:** 0.24.0
- **Source summary:** Lua Language Server
- **Homepage:** <https://github.com/EmmyLuaLs/emmylua-analyzer-rust>
- **Repository:** <https://github.com/EmmyLuaLs/emmylua-analyzer-rust>
- **Last updated:** 2026-07-10T16:19:39Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- emmylua_check (alias)
- emmylua_doc_cli (alias)
- emmylua_ls (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.24.0
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for emmylua_ls. Nucleus package metadata is still published here so future coverage has a stable package 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
## Other Package-Manager Records

- 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)


## Sources

- 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
