All apps/LuaRocks

LuaRocks

luarocks

The package manager for the Lua programming language.

Runs as luarocks|macOS, Linux, Windows|luarocks.org

Command form

ai-draft · 3 tasks · 9 fields

Install or search rocks. Other luarocks commands are not covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui luarocks

luarocks install

Install a rock

Install a rock by name (optionally a version), or from a rockspec URL or file.

Install a rockExample values, fixed in this page — nothing here reaches a terminal
Basic
Rock name, rockspec URL or file*
string
Version
string
Keep other versions
--keep
TasksEach one presets the form for one job
Install a rock
rockversionkeep
Install dependencies only
rockonly_deps
ParametersOnly these flags are editable in the form
Rock name, rockspec URL or file
string · positional 0
Version
string · positional 1
Keep other versions
boolean
--keep
Install only dependencies
boolean
--only-deps

luarocks search

Search rocks

Query the LuaRocks servers for a rock name.

Search rocksExample values, fixed in this page — nothing here reaches a terminal
Basic
Name substring*
string
Source rocks only
--source
Binary rocks only
--binary
TasksEach one presets the form for one job
Search by name
querysourcebinary
ParametersOnly these flags are editable in the form
Name substring
string · positional 0
List all rocks
boolean
--all
Source rocks only
boolean
--source
Binary rocks only
boolean
--binary
Machine-friendly output
boolean
--porcelain
SourcesEvery flag above is checked against these
doc
`luarocks install [--keep] [--only-deps] {<rock> | <name> [<version>]}` Unless `--keep` is passed, other versions of the rock are removed after installing the new one. If `--only-deps` is passed, the rock itself is not installed, but its dependencies are. luarocks install busted --deps-mode=none
manualmain 2026-10-27

github.com

doc
`luarocks search [--porcelain] [--source] [--binary] { <query> [<version>] | --all }` If `--porcelain` is passed, machine-friendly output is produced. If `--source` is passed, only rockspecs and source rocks are shown. If `--binary` is passed, only binary and pure-Lua rocks are shown. To list files for all rocks pass `--all`.
manualmain 2026-10-27

github.com

Before it fills your prompt, Otty checks the installed luarocks against its version. A form that does not match your version is not offered.