A great tutorial by kikito:
The Lua Missions help you learn Lua. The goal is to learn the Lua language, syntax, structure, and some common functions and libraries, through failing tests.
For mac users, you can install lua with
brew install lua. You'll have to have Homebrew installed of course, which you should consider anyway.