LuaRocks default installation location in macOS
If you have installed LuaRocks via Homebrew by following the installation instructions by running

brew install luarocks

the install location can be determined by running

`brew info luarocks

Homebrew installs it in a directory under

/usr/local/Cellar/luarocks/

directory.

The rocks themselves are installed in the following directory:

/usr/local/lib/luarocks/