Windows · Developer Tools
Luau Language Server
Language Server Implementation for Luau
Version 1.70.1 · by Johnny Morganz
Official site: github.com
About Luau Language Server
An implementation of a language server for the [Luau](https://github.com/Roblox/luau) programming language.
## Getting Started
Install the extension from the VSCode Marketplace or OpenVSX Registry:
- VSCode Marketplace: https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.luau-lsp
- OpenVSX Registry: https://open-vsx.org/extension/JohnnyMorganz/luau-lsp
Alternatively, checkout [Getting Started for Language Server Clients](https://github.com/JohnnyMorganz/luau-lsp/blob/main/editors/README.md)
to setup your own client for a different editor
### For General Users
The language server should be immediately usable for general Luau code after installation.
String require support is provided for module paths, using `require("module")`.
There are two options for resolving requires, which can be configured using `luau-lsp.require.mode`:
`relativeToWorkspaceRoot` (the default - equivalent to the [command-line REPL](https://github.com/Roblox/luau#usage) `luau`)
or `relativeToFile`.
Type definitions can be provided by configuring `luau-lsp.types.definitionFiles`, with corresponding
documentation added using `luau-lsp.types.documentationFiles`.
If you use Luau in a different environment and are interested in using the language server, or
looking for any specific features, please get in touch!
### For Rojo Users
Rojo instance tree and requiring support is provided by default, and the language server should be able to directly emulate Studio.
The extension will automatically populate the latest API types and documentation (which can be disabled by configuring `luau-lsp.types.roblox`).
How to install Luau Language Server
- Click Download — the developer's official website opens in a new tab.
- Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
- Prefer the command line? With Chocolatey you can install and update it with: choco install luau-language-server
- Open Luau Language Server once it finishes installing.
Frequently asked questions
Is Luau Language Server free to download?
Yes. The Download button sends you to github.com, the developer's official site, where Luau Language Server is available to download. Grabware doesn't host or modify any files.
What is the latest version of Luau Language Server?
The version listed here is 1.70.1, published /Date(1792. The developer's site always has the newest release.
How do I install Luau Language Server from the command line?
With Chocolatey, run: choco install luau-language-server. This installs it from the official source and keeps it updated.
Is Luau Language Server safe?
Luau Language Server downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.
Alternatives to Luau Language Server
More
March 2014 servicing stack update for Windows 8.1 and Windows Server 2012 R2 (KB2919442)The update fixes some issues in the servicing stack of Windows 8.1 and Windows Server 2012 R2.Chocolatey Compatibility ExtensionExtension package to provide compatibility with older versions of Chocolatey
Update for Universal C Runtime in Windows (KB2999226)Update for Universal C Runtime (CRT) in Windows. Before you install this update, check out the prerequisites section.