Installation
GuideOn this page
Download the Windows installer and run it. No Node.js, Lua, or extra runtime is required.
Direct links: https://discordlua.org/releases/1.2.4/DiscordLua-Setup.exe (installer) and https://discordlua.org/releases/1.2.4/dislua.exe (portable CLI).
- Download and run DiscordLua-Setup.exe.
- Finish setup so
disluais on PATH. Open a new terminal if one was already open. - Confirm with
dislua versionanddislua doctor.
Already installed
From DiscordLua 1.1.5 onward, dislua update replaces the package. If an older CLI cannot download the file, use the installer link above or:
curl.exe -L -o "$env:TEMP\DiscordLua-Setup.exe" https://discordlua.org/releases/1.2.4/DiscordLua-Setup.exe
Start-Process "$env:TEMP\DiscordLua-Setup.exe"From a source tree: dislua run tests/test_discord_exports.lua after setting MYLUA_MODULE_PATH to the repo modules folder.