less than 1 minute read

How to use lua in windows:

How to use luarocks package manager:

  • install it
  • move it to your lua PATH
  • to install a package:
luarocks install --lua-version=5.1 <package-name>

:: verbose to see what is happening if you have an error
luarocks install --verbose --lua-version=5.1 <package-name>

:: Or check the code to install on luarocks.org but do not forget the --lua-version=5.1 since luaforwindows is for the moment only for this version