The install script fetches the prebuilt lumenc binary for your platform and puts it in place — no Rust toolchain, no sudo, no compile.
curl -fsSL https://lumen-ui.dev/install.sh | sh
The script detects your OS and architecture (Linux/macOS, x86_64/aarch64), downloads lumenc from the latest release, and installs it to ~/.lumen/bin — then prints the PATH line to add if you need one. Set LUMEN_INSTALL_DIR to install somewhere else. It's a short POSIX-sh file; read it before you pipe it.
On Windows, download lumenc.exe from the releases page and put it on your PATH.
Generate a starter app and open a live-reloading window:
lumenc new counter my-app lumenc run my-app
lumenc is the whole toolchain in one file — it compiles your app, runs it, watches my-app/, and reloads markup, CSS, and script the moment you save. Focus, scroll, and signal values are preserved across the swap.
Generate the smallest template and check it parses before running:
lumenc new hello hello-test lumenc check hello-test # parse-only — should exit 0 lumenc run hello-test # opens a window
If lumenc check fails on a freshly scaffolded app, that's a bug worth reporting — the templates are tested against every shipped tag.
Lumen ships a Language Server, lumen-lsp. Put it on your PATH and any LSP-speaking editor gets completion, hover, and diagnostics for .lmn files. A VS Code extension lives under tools/vscode-lumen; symlink it into your extensions directory and it claims *.lmn automatically.
To hack on Lumen itself, or to run ahead of the latest release, build the compiler from the workspace. You'll need Rust 1.85 or newer (edition 2024) via rustup, plus the platform packages below.
| Platform | Needed for | Install |
|---|---|---|
| Linux — Debian / Ubuntu | GTK 3 file dialogs, Vulkan loader, notifications | sudo apt install libgtk-3-dev pkg-config libvulkan1 mesa-vulkan-drivers libnotify-bin |
| Linux — Fedora | GTK 3 + pkg-config | sudo dnf install gtk3-devel pkgconf-pkg-config |
| Linux — Arch | GTK 3 + pkg-config | sudo pacman -S gtk3 pkgconf |
| macOS | Linker + Metal headers | xcode-select --install |
| Windows | MSVC linker (DirectX 12 ships with Windows 10/11) | Install Build Tools for Visual Studio 2022 with the C++ workload |
Clone the workspace and build the release compiler. The first build is slow — the GPU, text, and layout crates all compile — but later builds reuse the incremental cache.
git clone https://github.com/lumen-ui/lumen.git cd lumen cargo build --release -p lumenc
That produces ./target/release/lumenc. Run it directly, or let cargo put it on your PATH with cargo install --path lumenc.
rfd dialog crate to its GTK 3 backend — the XDG portal variant conflicts with the blocking D-Bus path AccessKit uses, so it is disabled. Pure-Wayland sessions still work through GTK's portal-less fallback. Native menu bars are macOS/Windows only; Linux builds skip menu-bar attach and the optional libxdo-dev package.