luarocks(1)
β¨ NAME β¨
okay so bestie, gather round β luarocks is your module deployment system for Lua π like, it's the whole entire vibe for getting Lua libraries in and out of your life.
πΈ SYNOPSIS πΈ
luarocks [options] command
that's it. that's the whole ritual. options first, then the command. slay.
π DESCRIPTION π
LuaRocks is a module deployment system for Lua. periodt. it's the way you install, build, ship, and yeet Lua rocks around, and honestly? iconic.
ngl, there's one thing you need to know: variables from the "variables" table of the configuration file can be overridden with VAR=VALUE assignments. so like, you can just vibe in a value on the command line and it takes over. π«
π Options π
--from=<server>β grab rocks/rockspecs from this server. heads up, this takes priority over the config file, so it's the main character here π--only-from=<server>β fetch rocks/rockspecs from this server only. this one overrides any entries in the config file, like, it does not care what the config thinks π--to=<tree>β which tree to operate on. as in, where the stuff goes. pick your tree bestie π³
π Commands π
buildβ Build/compile a rock. π¨downloadβ Download a specific rock file from a rocks server. just the file, in your hands π«΄helpβ Help on commands. because we all need a little help sometimes πinstallβ Install a rock. the classic. the moment. πlistβ Lists currently installed rocks. inventory check bestie πmakeβ Compile package in current directory using a rockspec. yes, the current directory. right here, right now β¨packβ Create a rock, packing sources or binaries. lil gift wrap situation πremoveβ Uninstall a rock. it's giving goodbye πsearchβ Query the LuaRocks servers. detective mode πunpackβ Unpack the contents of a rock. open it up like a lil present πconfigβ Query configuration. peek behind the curtain π§
π¦ SEE ALSO π¦
luarocks-admin(1) β yes there's a whole other one, go look π
π FILES π
/etc/luarocks/config.lua
that's the config file. that's where the "variables" table lives. iykyk π
β AUTHOR β
Enrico Tassi <gareuselesinge@debian.org> β thank you for your service, legend π«Ά
okay so that's the whole page!! and just so you know where this came from β it's the LuaRocks manual, dated 10 November 2021, no cap. go forth and rock (literally) π₯π πΈ
π¦ where this page comes from
- debian bookworm: luarocks 3.8.0+dfsg1-1 Β· MIT
- debian trixie: luarocks 3.8.0+dfsg1-1 Β· MIT
- ubuntu jammy: luarocks 3.8.0+dfsg1-1 Β· MIT
- ubuntu noble: luarocks 3.8.0+dfsg1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms