Skip to content
forge18 edited this page Dec 31, 2025 · 3 revisions

Welcome to LPM Wiki

LPM - Lua Package Manager

Local package management for Lua. Because global installs are legacy.

Overview

LPM provides local, project-scoped package management for Lua, similar to npm, cargo, or bundler. It solves the problem of global package installations that cause dependency conflicts and make CI/CD difficult.

Quick Links

User Documentation

Contributor Documentation

Key Features

  • Local installation - Dependencies install to ./lua_modules/, not globally
  • Lua version manager - Manage multiple Lua versions (5.1, 5.3, 5.4) with lpm lua
  • Global tool installation - Install dev tools globally with lpm install -g (like npm)
  • Lockfile support - Reproducible builds with lpm.lock
  • SemVer version resolution - Proper dependency conflict resolution
  • LuaRocks compatible - Uses LuaRocks as upstream package source
  • Rust extensions - Build native Lua modules with Rust, or install Rust packages from LuaRocks
  • Build from source - Supports make, cmake, command, and rust build types
  • Supply chain security - Strong checksums, no postinstall scripts, sandboxed builds

Documentation

This wiki is automatically synced from the docs/ directory in the repository. All documentation is version-controlled and updated on every commit.

For the latest source code and issues, visit the main repository.

Clone this wiki locally