How to install Lua LSP
Open the Lua project with the language server available and configure the runtime and library paths it needs for diagnostics.
- Install the language server separately and make sure lua-language-server is available on your PATH.
- Start Claude Code once to register Anthropic’s official marketplace. Then run the install command in your terminal.
- Start a new Claude Code session in a project for the language and open a source file to confirm the server loads.
Claude Code · Install in Claude Code
claude plugin install lua-lsp@claude-plugins-officialTry a first task
Review a Lua configuration change that renames an exported setting. Locate remaining references using the language server and confirm the revised configuration loads in a test instance.
Package components
- Lua language server