lpm is a package manager for Lua, written in Lua.
It was created due to my frustration with the current status quo of package management in the Lua ecosystem.
- LuaRocks is sorely dated, difficult to manage, and hardly maintained.
- Lux, while promising, is written in Rust and seems to be targeting backwards compatibility with LuaRocks.
- Local package management, no venv or global installs.
- Relative package installation via
lpm add --path <package>andlpm install. - Git repository installation via
lpm add --git <repo>supporting monorepos/subdirectories. lpm compile- Create a single executable application from your entire project, easily distributable.lpm test- Run test lua scripts in your project.
- You'll need LuaJIT 2.1+ to use
lpmas it is currently a dynamically linkedlpm compile'd executable. - Git is required for git repository installations.
pkg-configfor building withlpm compile.
curl -fsSL https://raw.githubusercontent.com/codebycruz/lpm/master/install.sh | shWindows
irm https://raw.githubusercontent.com/codebycruz/lpm/master/install.ps1 | iexTo build with lpm compile, you'll need cc and luajit development libraries installed.