Download Windows binaries for Luart
Luart is freeware, released under the Creative Commons License 3.0.Luart Windows Installation
- Download the Luart setup file and double-click on it.
- Click on the "Install LuaRT" button
- Select a directory where to install LuaRT (It is recommended that you create a new directory)
- Upon completion, you are notified that the installation was successful.
The setup file installs Luart only for the current user.
The setup file does not create any shortcuts in the Windows Start menu.
Uninstallation
On Windows 10 and Windows 11, go to the "Apps and Features" section on Settings, and select "LuaRT" uninstall.On previous versions, go to the Control panel, choose "Programs and Features", and select "LuaRT" uninstall.
First execution
To be sure that everything went right during installation, open a console prompt (cmd.exe, Powershell or Windows Terminal) and type the follwing command (replace "C:\Program Files\LuaRT\" with the directory you choosed to install Luart):
C:\Program Files\LuaRT\bin\luart examples\hello.wlua
Alternatively, you can open an explorer Window and go to the folder where you have installed Luart. Double click on the file "examples\hello.wlua" to execute it.
With both methods, you should see a Window with a message : "Hello World !".
Luart from the File explorer
In addition to the command line, you can launch a Lua file directly from the file explorer by double clicking on it. Please note that Files with the extension ".lua" are executed in a console window, and ".wlua" files are executed silently as a Desktop application. In this case, if your program needs to interact with the user, you will need to use the builtin modules console or ui.Luart depends on the MSVCRT.DLL Runtime Library that is commonly available on Windows operating systems. If you use Lua binary modules with the require function, please be sure that they depend on the same Runtime Library and on the same Lua54.dll shared library. Any mismatch could lead to bugs or crash.