A vfox / mise plugin for managing Lua versions.
- Dynamic version fetching: Automatically fetches available versions from lua.org
- Always up-to-date: No static version list to maintain
- Compiles from source: Uses official Lua source releases
- LuaRocks included: Automatically installs LuaRocks for Lua 5.x versions
- Cross-platform: Works on Linux and macOS
- A C compiler (gcc or clang)
- make
- curl
xcode-select --installsudo apt-get install build-essential libreadline-devsudo yum groupinstall "Development Tools"
sudo yum install readline-develmise install lua@latest
mise install [email protected]
mise install [email protected]vfox add lua
vfox install lua@latest# List all available versions
mise ls-remote lua
# Install a specific version
mise install [email protected]
# Set global version
mise use -g [email protected]
# Set local version (creates .mise.toml)
mise use [email protected]This plugin sets the following environment variables:
PATH- Adds the Lua bin directory and LuaRocks bin directoryLUA_INIT- Configures package.path and package.cpath for LuaRocks modules
This plugin:
- Fetches the list of available versions from lua.org/ftp
- Downloads the source tarball for the requested version
- Compiles Lua from source using
make - Installs LuaRocks (for Lua 5.x versions)
MIT License - see LICENSE for details.