Lua Download

source · binaries · patches · previews · logos · tools · test suites · extras · license · versions · donations · live demo

Source

Lua is free software distributed in source code. It may be used for any purpose, including commercial purposes, at absolutely no cost.

All versions are available for download. The current version is Lua 5.2 and its current release is Lua 5.2.3.

lua-5.2.3.tar.gz
2013-11-11, 246K
md5: dc7f94ec6ff15c985d2d6ad0f1b35654
sha1: 926b7907bc8d274e063d42804666b40a3f3c124c

Tools

The lua-users wiki lists many user-contributed addons for Lua, including tools, libraries, full distributions, and binaries for several platforms. LuaForge is the major repository for user-contributed tools, and includes LuaBinaries, a complete repository of pre-compiled Lua libraries and executables. Many Lua modules are available as LuaRocks. See also the Lua Toolbox.

Building

Lua is implemented in pure ANSI C and compiles unmodified in all platforms that have an ANSI C compiler. Lua also compiles cleanly as C++.

Lua is very easy to build and install. There are detailed instructions in the package but here is a simple terminal session that downloads the current release of Lua and builds it in Linux:

curl -R -O http://www.lua.org/ftp/lua-5.2.3.tar.gz
tar zxf lua-5.2.3.tar.gz
cd lua-5.2.3
make linux test
For Mac OS X, use make macosx test.

If you have trouble building Lua, read the FAQ.

Binaries

If you don't have the time or the inclination to compile Lua yourself, get a binary or try the live demo. Try also LuaDist, a multi-platform distribution of the Lua that includes batteries.

Giving credit

If you use Lua, please give us credit, according to our license. A nice way to give us further credit is to include a Lua logo and a link to our site in a web page for your product.

Supporting Lua

You can help to support the Lua project by buying a book published by Lua.org and by making a donation.

You can also help to spread the word about Lua by buying Lua products at Zazzle and CafePress.

[buy at the Lua Bookstore at Amazon]


Last update: Tue Nov 4 12:55:12 BRST 2014