Repository navigation
Releases
LUI 0.1.0-preview.5 — Unsigned experimental prerelease
LUI Preview.5 is ready to try on Windows x64 and Linux x64. You can use the SDK to build a Luau desktop app or a headless tool and package it with the modules and assets it needs. On Linux, desktop apps use GTK4. Headless tools run without it.
If you’re coming from Preview.2b, a good place to start is Examples/DeveloperJourneys. Try the SQLite inventory app to see how a standalone project saves and loads data, or open the source workbench to see a background worker check your code while you edit. There are five walkthroughs in all, plus a package guide and an offline VS Code extension.
What’s new since Preview.2b
- Docking and editing. Try floating an editor panel, then docking it again. Your text and selection stay with the panel. The
dock-editoranddock-workspaceexamples show how to arrange tabs and nested splits. On Wayland, the compositor chooses where floating windows appear. You can still dock panels within a window or explicitly move them back. - Headless apps and services. Projects can request filesystem access, networking, subprocesses and workers through their capability declarations. You can add SQLite, compression, cryptography, regex or TOML individually.
- Packages. You can use a local folder, a package archive or a pinned source import. Once the cache is populated, you can restore from the lockfile offline. For native packages, the SDK checks the platform and approved file hash, and the host must grant permission to load the code.
- Images and live viewports. Use an immutable image or a region of an image atlas for static content. For a live viewport,
FrameSurfacelets a producer submit its newest frame and release one it has already replaced. Backpressure keeps older frames from piling up. A native publication tells you the backend published a frame. The compositor and physical display are later stages. - Experimental native bindings. Trusted FFI supports prepared calls, generated bindings and scoped synchronous callbacks. Headless worker pools can use FFI when you explicitly enable it. Microsoft x64 and System V AMD64 are supported. On System V, use a C pointer wrapper for packed values whose layout changes. A blocking native call holds the thread that made it. If you need a separate process and a timeout, the broker provides both and runs under your OS account.
Try it or upgrade a project
- Download the archive and its matching
.sha256file from the assets below. This is an unsigned experimental prerelease. Compare the archive’s hash withGet-FileHashon Windows orsha256sumon Linux. Windows may show an unknown-publisher warning. Keep your usual protections enabled. - Extract the whole SDK into a fresh folder with a short path. On Linux, preserve executable permissions. Run the SDK’s CLI with
doctor --format jsonto check the installation. - Try the new SDK on a copy of your project. Keep your previous SDK handy. Run
lui new Scratch --sdk <new-sdk>to see the newLuiToolchain.json, then update the SDK pin in your project copy. Check which providers and packages it uses before regenerating the lockfile. - Build and run the standalone app from a folder outside the SDK. Try the things you normally do with it. If you rely on offline builds, also test a frozen restore from your populated cache.
LUI Preview.2b: Smaller downloads and experimental Linux
Preview.2b cuts the Windows download by more than half and adds an experimental Linux build.
- Windows x64: 75 MB, down from 170 MB. The extracted folder is smaller too, at 193 MB instead of 412 MB.
- Linux x64: a new 41 MB experimental download.
This is a packaging update with the same features and APIs as preview.2. Both downloads and the apps they produce have been tested. Earlier releases remain available, and existing projects keep using their selected SDK.
To get started, download the archive for your system below and extract the whole folder. Run ./lui.cmd doctor on Windows or ./lui doctor on Linux to check your setup.
For VS Code, install Editor/LUI.vsix from the SDK, then use LUI: Choose SDK to select the folder you extracted. You only need the separate extension download if you prefer to install it that way.
Follow the setup guide to make your first app, or browse the tutorials and API reference.
Linux has been tested on Ubuntu 24.04 with X11. Its VS Code workflow, Wayland and other distributions still need more testing. See the setup guide for required Linux libraries.
LUI is still an early, unsigned preview. Keep the complete SDK folder and its license notices together. Checksums are included below to check your download.
LUI Preview.2 — Restart, JSON and reusable controls
Build a Windows app with Luau using a portable SDK, a native window and VS Code.
- Download LUI-SDK-Windows-x64-0.1.0-preview.2.zip below and extract the complete folder.
- Run
./lui.cmd doctor, then./lui.cmd new MyAppfrom that folder. - Run
./lui.cmd run MyApp/lui.jsonto open your app. - In VS Code, use Extensions: Install from VSIX with
Editor/LUI.vsix, then LUI: Choose SDK to select the extracted SDK.
Setup and first app · Tutorials and API reference · Release notes
This preview includes workbench and command templates, eight optional Luau modules for documents, panes, preferences, JSON, HTTP JSON clients and numeric input, and four example projects. The included VS Code extension 0.1.7 adds explicit Restart App, Add File to Project, persistent app status and clearer capability/setup diagnostics. Save files before restarting; application memory is discarded. Native apps do not restart automatically on save.
The packaged SDK passed a fresh native app launch, a scheduled callback and clean exit. Windows Release and Linux/GTK each passed 43 native suites; Windows and Linux each passed 59 editor tests with no skips. A real VS Code journey also passed on the selected Windows 10 LTSC virtual recipient without a global .NET SDK or system C++ runtime. Earlier test installations remain in that OS. Linux automated checks do not qualify a fresh Linux SDK or real Linux VS Code recipient; this binary download is Windows x64.
Unsigned experimental preview. Fresh Windows 11, physical input/accessibility/usability, ordinary downloaded-file trust and signing remain open. Use only a release whose publisher you trust. Checksums verify unchanged bytes, not publisher authenticity. See the platform limits.
Keep preview.1 installed for existing pinned projects. Preview.1 assets, tag and tutorial pins are unchanged; projects never upgrade their SDK automatically. GTK performance work remains separate.
The standalone LUI-0.1.7.vsix is identical to the editor extension inside the SDK; downloading it separately is optional. Keep the complete SDK folder and third-party notices together.
SDK ZIP SHA-256: 6e89f007e8012367c5ef183d46d50f41c3909c3b1d1e918e4b727cf842676d49
VSIX SHA-256: 9a2bcc321b2eff9138a715ce59e78e57e76881c20bb7a9fcfe43b3974c242462
LUI Preview — Build your first Windows app
Try building your first LUI app on Windows. This preview brings the tools and VS Code extension together in one download, so you can create a project, write Luau code and see it running in a native window.
Download
Download LUI for Windows (64-bit)
The ZIP includes the LUI tools, VS Code extension, starter project support and an offline guide. Extract the whole ZIP and keep its folders together.
Make your first app
- Open the extracted
SDK-Previewfolder. In VS Code, run Extensions: Install from VSIX and selectEditor/LUI.vsixfrom that folder. - Run LUI: Choose SDK and select the
SDK-Previewfolder. - Run LUI: Create Project, choose where to save it and give it a name.
- Open your new project, then open
Src/Main.luauto start editing. - Run LUI: Check Types to check your code, then LUI: Run App to open it. Trust the project only if you trust its code.
After making changes, save your code, stop the app and run it again. Automatic restart when you save is planned.
See the getting-started guide for command-line instructions and help sharing an app.
Explore your first advanced project or look up a class in the API reference.
What you can do
- Create a starter app and edit it in VS Code.
- Check your code and run your app from the editor.
- Explore your app's layout with LUI: Inspect Layout. This opens a separate preview.
- Package your app as a folder to try on another Windows PC.
- Keep different LUI versions side by side. Each project remembers the version it needs.
Before you try it
This is an early, unsigned preview for Windows 64-bit. Setup, code checking, app packaging and an app launch have passed our test-machine checks. We are still testing first-time setup on a completely fresh Windows PC and the full VS Code experience. Windows may show a warning because the download is unsigned.
Signing and release checks are still in progress. This preview does not include ready-to-use Android, iPhone or Mac downloads.
The extension is already inside the ZIP. The separate LUI-0.1.0.vsix download below is provided for convenience and still needs the LUI tools. The .sha256 files let you check that your download is complete and unchanged; they do not verify who published it.