Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

oploadk/localua

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
48 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

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.