# lua-language-server を Homebrew, apk, chocolatey, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

lua-language-server のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:lua-language-server
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install lua-language-server
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lua-language-server
```

  証拠: MacPorts ports tree: lua/lua-language-server/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add lua-language-server
```

  証拠: Alpine Linux edge package indexes: lua-language-server from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#lua-language-server
```

  証拠: nixpkgs package indexes: pkgs/by-name/lu/lua-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lua-language-server
```

  証拠: Arch Linux sync databases: lua-language-server from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lua-language-server
```

  証拠: openSUSE Tumbleweed package metadata: lua-language-server from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install lua-language-server
```

  証拠: Chocolatey community package catalog: lua-language-server from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.4028','coreinfo'

- Scoop (92%):

```sh
scoop install main/lua-language-server
```

  証拠: Scoop official bucket manifest trees: bucket/lua-language-server.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id LuaLS.lua-language-server -e
```

  証拠: Windows Package Manager source index: LuaLS.lua-language-server from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:lua-language-server
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.18.2
- **ソース概要:** Language Server for the Lua language
- **ホームページ:** <https://luals.github.io>
- **リポジトリ:** <https://github.com/LuaLS/lua-language-server>
- **最終更新:** 2026-06-15T10:20:20-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- lua-language-server (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.18.2
## プロジェクトの歴史と使われ方

Lua Language Server, commonly branded LuaLS, is the Language Server Protocol implementation for Lua. It brings editor features such as diagnostics, completion, hover, go-to-definition, annotations, formatting, library definitions, and documentation generation to Lua projects.

### プロジェクトの歴史

The project grew out of the VS Code extension historically published as sumneko.lua and evolved into the broader LuaLS project. The official LuaLS homepage describes it as a language server using the Language Server Protocol to make Lua development easier, safer, and faster in many editors, while the repository README links the language server to the website, changelog, wiki, issue tracker, and discussions.

LuaLS is tightly coupled to modern editor workflows rather than to the Lua runtime itself. Its feature set tracks practical IDE needs: support for Lua 5.1 through Lua 5.5 and LuaJIT, annotations, dynamic type checking, syntax diagnostics, workspace libraries, formatting, custom plugins, translations, and generated documentation.

### 採用の歴史

LuaLS adoption is visible through editor distribution. The official homepage shows Visual Studio Code install counts in the millions and gives install paths for VS Code, Neovim, JetBrains, and generic command-line/LSP clients. The supplied package-manager facts also show packaging across apk, Homebrew, Chocolatey, MacPorts, Nix, pacman, Scoop, winget, and zypper.

The package became the default answer for Lua editor support because it speaks LSP instead of being bound to one editor. That let package managers distribute the same lua-language-server executable for Neovim, VS Code-adjacent setups, terminal editors, and custom LSP clients.

### 使われ方

Users install the lua-language-server executable and point an LSP client at it. Configuration can come from an explicit --configpath, a workspace .luarc.json file, or settings sent by the LSP client. The official docs recommend .luarc.json for configuration shared across clients and show examples for VS Code, Neovim, coc.nvim, and Kakoune.

Typical package-manager usage is installing the binary into PATH and letting editor configuration discover it. Project teams add .luarc.json when they need shared runtime version, library paths, diagnostics settings, or hints.

### パッケージ好きにとっての重要性

LuaLS matters to package nerds because it is a language-tooling package whose value depends on editor integration, binary distribution, and fast updates to match new Lua versions. The formula is not just a compiler or interpreter; it is the piece that makes Lua feel modern inside editors and CI-adjacent code-quality workflows.

### タイムライン

- 2022: The changelog records the 3.6.x series and removal of telemetry in v3.6.5.
- 2026: The official changelog records Lua 5.5-related fixes in the 3.18.x series.
- 2026: Official homepage reports multi-million Visual Studio Code installs and documents installation for VS Code, Neovim, JetBrains, and other LSP clients.

### Related projects

- Lua is the target language supported by LuaLS.
- Language Server Protocol is the editor protocol LuaLS implements.
- Neovim, VS Code, JetBrains IDEs, coc.nvim, and Kakoune are documented client environments.
- EmmyLua is listed by the project as related credit material for annotation-style Lua tooling.

### ソース

- <https://luals.github.io/>
- <https://luals.github.io/wiki/>
- <https://luals.github.io/wiki/configuration/>
- <https://raw.githubusercontent.com/LuaLS/lua-language-server/master/README.md>
- <https://raw.githubusercontent.com/LuaLS/lua-language-server/master/changelog.md>
- source_facts.package-manager


## セキュリティノート

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: .luarc.json
## 他のパッケージマネージャ記録

- Nix - lua-language-server: normalized package name match | nixpkgs package indexes: pkgs/by-name/lu/lua-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - lua-language-server - 3.16.1-r1: normalized package name match | Alpine Linux edge package indexes: lua-language-server from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Language Server for Lua | https://github.com/LuaLS/lua-language-server
- apk - lua-language-server-doc - 3.16.1-r1: normalized package name match | Alpine Linux edge package indexes: lua-language-server-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Language Server for Lua (documentation) | https://github.com/LuaLS/lua-language-server
- pacman - lua-language-server - 3.18.2-1: normalized package name match | Arch Linux sync databases: lua-language-server from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Lua Language Server coded by Lua | https://luals.github.io
- zypper - lua-language-server - 3.18.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: lua-language-server from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Lua Language Server coded by Lua | https://github.com/LuaLS/lua-language-server
- MacPorts - lua-language-server: normalized package name match | MacPorts ports tree: lua/lua-language-server/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - lua-language-server: normalized package name match | Chocolatey community package catalog: lua-language-server from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.4028','coreinfo'
- Scoop - main/lua-language-server: normalized package name match | Scoop official bucket manifest trees: bucket/lua-language-server.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - LuaLS.lua-language-server: normalized package name match | Windows Package Manager source index: LuaLS.lua-language-server from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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