setup.sh
#!/bin/bash
if [[ $(uname) == "Darwin" ]]; then
brew install lua luarocks
fi
mkdir -p project/src
cd project/
touch src/main.lua
luarocks init --lua-versions "5.1,5.2,5.3,5.4"
touch src/setup.lua
running
lua -l src/setup.lua src/main.lua