luarocks(1)

πŸ“¦ version 3.11.1, in ubuntu stonking

πŸ’– luarocks(1) πŸ’–

okay bestie, sit down, hydrate, because we're talking about luarocks β€” the manual page for LuaRocks, the module deployment system for Lua, and it's genuinely giving legend behaviour. this is luarocks(1), and it's about to be your new obsession. ✨


🌸 NAME 🌸

luarocks β€” module deployment system for Lua πŸ¦‹


✨ SYNOPSIS ✨

luarocks [options] command

that's it. that's the whole shape of it. options, then a command. iconic. πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

LuaRocks is a module deployment system for Lua. no cap, that's literally what it is. 🫢

here's the tea though β€” variables from the "variables" table of the configuration file can be overridden with VAR=VALUE assignments. so if you want to change something that lives in the config, you just show up with VAR=VALUE and it listens. main character energy fr fr. πŸ‘‘


πŸ”₯ OPTIONS πŸ”₯

these go before your command, bestie. they're the vibe-setters.

  • --from=<server> β€” fetch rocks/rockspecs from this server. and this one takes priority over the config file, so she wins the argument. periodt.
  • --only-from=<server> β€” fetch rocks/rockspecs from this server only β€” and it overrides any entries in the config file. like, don't even look at the config, we're locked in. 🎯
  • --to=<tree> β€” which tree to operate on. pick your tree, queen. 🌳

🌈 COMMANDS 🌈

these are the things you can actually do. one of them, per invocation. choose wisely (or just run help, no judgement πŸ’œ).

  • build β€” build/compile a rock.
  • download β€” download a specific rock file from a rocks server.
  • help β€” help on commands. (yes, she's self-aware, we love that for her πŸ™ˆ)
  • install β€” install a rock.
  • list β€” lists currently installed rocks.
  • make β€” compile package in current directory using a rockspec.
  • pack β€” create a rock, packing sources or binaries.
  • remove β€” uninstall a rock.
  • search β€” query the LuaRocks servers.
  • unpack β€” unpack the contents of a rock.
  • config β€” query configuration.

πŸ‘€ SEE ALSO πŸ‘€

go read that one too, bestie. she's the admin side of the family. iykyk. 🧚


πŸ“ FILES πŸ“

  • /etc/luarocks/config.lua

that's the config file from the section above. the whole VAR=VALUE thing? yeah. here's where the variables live. 🏠


πŸ’œ AUTHOR πŸ’œ

Enrico Tassi <gareuselesinge@debian.org>

genuinely thank you to the author, we are so grateful, this is everything. πŸ™


aaaand that's the whole page, bestie!! πŸ’– this was printed from the LuaRocks manual, dated 06 August 2026, for luarocks(1). slay, bye. βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from