官方的Lua包和文檔 (參看The Programming Language Luahttp://www.lua.org/),;
mac下安裝lua步驟
1 打開終端
2 查看是否已經(jīng)裝過(guò)lua,用命令 which lua 或者lua。沒找到會(huì)提示? command not found
3 沒找到lua進(jìn)行安裝
4 進(jìn)入到lua文件,執(zhí)行 make clean
5 之后執(zhí)行 make macosx
6 再執(zhí)行 make install(該命令安裝不成功,用命令 sudo make install)
7 安裝成功后,用which lua 查看安裝在什么路徑