Key Features
- Supports Linux, macOS, and Windows platforms
- Easy installation and management of multiple Lua versions
- Integration with the vfox version manager
- Automatic compilation from source with build tools
- Support for readline on Linux/macOS for enhanced REPL experience
System Requirements
Linux/macOS:
- GNU Make
- ANSI C compiler (like gcc)
- Readline library (for Lua 5.4+)
Windows:
- GCC Compiler (via MSYS2)
- Make utility
- PowerShell for installation
Installation Guide
# Install the vfox-lua plugin
vfox add --source https://github.com/yeshan333/vfox-lua/archive/refs/heads/main.zip lua
# Search for available Lua versions
vfox search lua
# Install a specific Lua version
vfox install [email protected]
Important Notes
- Ensure build tools (gcc, make) are in your system $PATH
- Lua 5.4+ on Linux/macOS requires readline library for enhanced REPL
- Use PowerShell for Windows installations
Known Issues
- Lua versions 5.0 and earlier cannot be installed on Linux
Acknowledgements
This project is built on top of these awesome resources:
- Lua - The programming language
- vfox - The version manager
- asdf-lua - Inspiration for this plugin
Thank you for using vfox-lua!