https://github.com/lde-org/lde
A package manager, test runner and runtime for Lua, written in Lua.
https://github.com/lde-org/lde
lde lde-cli lua lua-development-environment lua-package-manager luajit luarocks package-manager rockspec test-runner tools
Last synced: about 7 hours ago
JSON representation
A package manager, test runner and runtime for Lua, written in Lua.
- Host: GitHub
- URL: https://github.com/lde-org/lde
- Owner: lde-org
- License: mit
- Created: 2025-12-27T09:13:40.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2026-03-27T11:46:28.000Z (6 days ago)
- Last Synced: 2026-03-27T20:06:56.897Z (6 days ago)
- Topics: lde, lde-cli, lua, lua-development-environment, lua-package-manager, luajit, luarocks, package-manager, rockspec, test-runner, tools
- Language: Lua
- Homepage: https://lde.sh
- Size: 1010 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
---
[](https://github.com/lde-org/lde/actions/workflows/nightly.yml) [](https://github.com/lde-org/lde/releases/latest) [](https://lde.sh/discord)
`lde` is a modern package manager and toolkit for Lua, written in Lua.
It includes a LuaJIT runtime for any operating system, a test runner, and the ability to compile your Lua programs into single executables users can run in **<1mB**. All of this alongside a package manager and package registry to easily share and reuse lua code, properly version locked and isolated to your individual projects.
To get started, [read the docs](https://lde.sh/docs/getting-started/introduction).
## Features
- Easy project creation with `lde new` and `lde init`
- Automatic local package management, avoid conflicting global installs
- `lde add --path ` - Install local dependencies (good for monorepos)
- `lde add --git ` - Install git dependencies (supports monorepos)
- `lde run` - Runs your project's init file and installs dependencies
- `lde compile` - Turn your project into a single executable, easily distributable
- `lde test` - Run project tests with the built-in test framework, [`lde-test`](./packages/lde-test)
- `lde bundle` - Bundle your project into a single lua file
- `lde x` - Execute a project in another location, perfect for CLIs (alias: `ldx`)
- `lde tree` - View your dependencies at a glance
- `lde update` - Update your dependencies to their latest versions
- `lde publish` - Create a PR to add your package to [the registry](https://github.com/lde-org/registry)
## Installation
| OS | Command |
| ------- | ----------------------------------------- |
| Linux | `curl -fsSL https://lde.sh/install \| sh` |
| Windows | `irm https://lde.sh/install.ps1 \| iex` |
_To upgrade your `lde` version, simply run `lde upgrade`!_
## Quickstart
Create a project with dependencies..
```bash
lde new myproject && cd myproject
lde add hood --git https://github.com/codebycruz/hood
echo "print(require('hood'))" > ./src/init.lua
lde run
# Output: table: 0x7f53326fd030
```
Or run a repository's code in a single command!
```bash
ldx triangle --git https://github.com/codebycruz/hood
```
## How does lde compare to other tools?
See [this table](https://lde.sh#compare) for a comparison between some of the most common tools.