Lua environment manager
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README.md
index
luas
luas-completion.bash
luas-completion.fish

README.md

Lua environment manager

An environment manager for Lua VMs in the spirit of rvm/rbenv, written from scratch, minimal dependencies (base/devel, gcc and make), simpler commands, shell completions and latest luarocks. Installs packages to ./.luas (or ~/.cache/luas by default if the former does not exist).

Installation:

$ git clone github.com:limadm/luas
$ cd luas && sudo make install

Usage:

luas list                 list available versions, installed (-) and active (*)
luas update               update versions list
luas init    <version>    create .luas in current dir and install version
luas install <version>    install lua version and latest luarocks
luas remove  <version>    remove lua version and its luarocks tree
luas use     <version>    setup environment to use version
luas help                 print this message

Current versions:

lua-5.3.4
lua-5.2.4
lua-5.1.5
luajit-2.1.0-beta3
luajit-2.1.0-beta2
luajit-2.0.5
luarocks-2.4.3

Check out the other options too!


Published under MIT license. Daniel Lima, 2016-2017 danielm@nanohub.tk