本地安装lua和luarocks的工具
hererocks的Python项目详细描述
基本用法
hererocks lua53 -l5.3 -rlatest # Install Lua 5.3 with latest LuaRocks into 'lua53' directory. source lua53/bin/activate # Run activation script, adding 'lua53/bin' to $PATH. lua -v # Lua, LuaRocks, and programs luarocks install luacheck # installed using LuaRocks luacheck --version # can now be used. deactivate-lua # Remove 'lua53/bin' from $PATH. lua53/bin/lua -v # All the binaries can still be used directly.
有关更多信息,请参见下面的或运行 hererocks --help 以获取选项的完整列表。