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.3 and its current release is Lua 5.3.0.

lua-5.3.0.tar.gz
2015-01-06, 272K
md5: a1b0a7e92d0c85bbff7a8d27bf29f8af
sha1: 1c46d1c78c44039939e820126b86a6ae12dadfba

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.3.0.tar.gz
tar zxf lua-5.3.0.tar.gz
cd lua-5.3.0
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: Mon Jan 12 13:34:10 BRST 2015