Skip to content

Instantly share code, notes, and snippets.

@S1M0N38
S1M0N38 / install-lua-luarocks-on-macos.sh
Last active June 26, 2025 16:17 — forked from zirkuswurstikus/lua_build_macos.sh
A simple script to install Lua and Luarocks from source in a custom dir
#!/bin/bash
# This scripts installs Lua, LuaRocks, and some Lua libraries on macOS.
# The main purpose is to install Busted for testing Neovim plugins.
# After the installation, you will be able to run test using busted:
# busted --lua nlua spec/mytest_spec.lua
################################################################################
# Dependencies
################################################################################