The toolset available here aids in the process to download, build and install Lua versions on Windows, downloading Lua source code directly from https://www.lua.org.
Tip
Among all the possible versions of Visual Studio, Visual Studio Community edition or Visual Studio Build Tools are the preferred choices for individuals.
-
Visit https://visualstudio.microsoft.com, download and install the most recent Microsoft Visual Studio C/C++ Build Tools for x86/x64 native desktop development (MSVC), together with the most recent Windows SDK for your operating system:
- Step 1: In the startup screen of the latest
Visual Studio Installer
, switch toIndividual components
tab in the top;
- Step 2: Search for
Windows SDK
; - Step 3: Select the most recent;
- Step 4: Search for
latest MSVC Build Tools
; - Step 5: Select the
latest
MSVC x86/x64 build tools available; - Step 6: In the right panel, verify that the
Individual components
selection shows the latest Build Tools and Windows SDK; - Step 7: Hit
Install
button and await the installation.
- Step 1: In the startup screen of the latest
-
Download and extract the latest
LuaInstaller.EndUsers-*.zip
from the Releases page anywhere on your computer;
- Run the app
LuaInstaller.exe
Important
- If you want to install Lua on system-wide directories like
C:\Program Files\Lua
orC:\Program Files(x86)\Lua
, close the program and openLuaInstaller.exe
again as administrator (Run as Administrator); - To set environment variables, you are also required to have admin privileges (Run as Administrator).
- If everything was configured correctly, you should see each dropdown with at least one choice available:
- Make your choices and hit
Install
; - Verify that you can find
lua.exe
atFOLDER > bin
, where FOLDER means the destination directory for Lua installation.
-
Are you looking for CI / CD content? check our CI examples here.
-
Do you want to integrate it on your project? Read the docs.
Special thanks goes to warlockx for valuable suggestions and bug hunting in the beginning of this project.