Skip to content

Build Lua and LuaRocks in a self-contained directory on Linux.

License

Notifications You must be signed in to change notification settings

oploadk/localua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

localua.sh

localua.sh is a Bash script to download and install a self-contained Lua and LuaRocks on Linux, macOS and MSYS2.

It supports Lua 5.1 to 5.4. It does not officially support other operating systems or environments, and it does not support LuaJIT.

Run the script without arguments to see how to use it.

But I just want to type lua and luarocks!

Say you store your local Lua environment in .lua in your project, just add .lua/bin at the beginning of your $PATH. This will only work from the root directory of the project though... but you can also add ../.lua/bin etc if you want!

MSYS2 dependencies

Before running the script, install base-devel, gcc and unzip.

Alternatives

If this does not fit your needs, check out:

Similar tools for other languages:

Copyright

  • Copyright (c) Pierre Chapuis

About

Build Lua and LuaRocks in a self-contained directory on Linux.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages