Use Lua script in windows

18 December 2022

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 but do not forget the --lua-version=5.1 since luaforwindows is for the moment only for this version


    Join the discussion for this article on this ticket. Comments appear on this page instantly.
    Thanks to aristaht for making this static comment system possible.