vfox-lua Plugin

Manage Multiple Lua Versions with Ease

github.com/yeshan333/vfox-lua

A plugin for vfox to manage multiple Lua versions on Linux, macOS, and Windows.

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

  1. Ensure build tools (gcc, make) are in your system $PATH
  2. Lua 5.4+ on Linux/macOS requires readline library for enhanced REPL
  3. 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!