luarocks:
https://luarocks.org
luarocks学习 https://segmentfault.com/a/1190000003920034
brew install luarocks
如果不好用,就先去网址:
https://luarocks.org/releases/ 下载文件 $ cd luarocks-2.4.1 $ ./configure; sudo make bootstrap $ sudo luarocks install luasocket
luarocks install --server=http://luarocks.org/dev luash
luarocks install lua-path
luarocks install luafilesystem