Lua Download

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.1.

lua-5.3.1.tar.gz
2015-06-10, 276K
md5: 797adacada8d85761c079390ff1d9961
sha1: 1676c6a041d90b6982db8cef1e5fb26000ab6dee

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.1.tar.gz
tar zxf lua-5.3.1.tar.gz
cd lua-5.3.1
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]