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