Installation
Ludi is distributed through LuaRocks.
luarocks install ludiluarocks install ludi --tree lua_modulesThe per-project install works like node_modules: rocks land in a local
lua_modules directory instead of the system tree.
Prebuilt binaries
Section titled “Prebuilt binaries”Prebuilt binary rocks are published for Linux and macOS (Lua 5.4, 5.5 and LuaJIT), so no Rust toolchain is needed.
On platforms without a prebuilt rock, LuaRocks falls back to building from source, which requires Rust installed.
Requirements
Section titled “Requirements”- Lua 5.1+ or LuaJIT (Lua 5.5 recommended)
- LuaRocks 3.x
- Rust (only when building from source)
Loading LuaRocks paths
Section titled “Loading LuaRocks paths”If require("ludi") isn’t found after installing, load the LuaRocks paths
into your shell:
eval "$(luarocks path)"