Skip to content

codebycruz/lpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lpm

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.

Features

  • Local package management, no venv or global installs.
  • Relative package installation via lpm add --path <package> and lpm 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.

Requirements

  • You'll need LuaJIT 2.1+ to use lpm as it is currently a dynamically linked lpm compile'd executable.
  • Git is required for git repository installations.
  • pkg-config for building with lpm compile.

Installation

curl -fsSL https://raw.githubusercontent.com/codebycruz/lpm/master/install.sh | sh

Windows

irm https://raw.githubusercontent.com/codebycruz/lpm/master/install.ps1 | iex

Development

To build with lpm compile, you'll need cc and luajit development libraries installed.

About

lpm is a package manager for Lua, written in Lua.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published