It may be used for any purpose, including commercial purposes,
at absolutely no cost.
are available for
The current version is
and its current release is
tools, libraries, full distributions, and
for several platforms.
is the major repository for user-contributed tools,
a complete repository of pre-compiled Lua libraries and executables.
Many Lua modules are available as
See also the
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.
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
make linux test
For Mac OS X, use
make macosx test.
If you have trouble building Lua,
read the FAQ.
If you don't have the time or the inclination to compile Lua yourself,
get a binary
or try the
a multi-platform distribution of the Lua that includes batteries.
If you use Lua,
please give us credit,
according to our
A nice way to give us further credit is to include a
link to our site
in a web page for your product.
You can help to
support the Lua project
buying a book
published by Lua.org
making a donation.
You can also help to spread the word about Lua by buying Lua products