1

By default, where is the LuaRocks package installed in macOS? I am looking in the following directories, but I couldn't find it:

usr/local
usr/lib
opt/local

What am I missing?

  • Can you elaborate on how have you installed it? Using Homebrew or manually? – Nimesh Neema May 16 '19 at 14:32
  • Homebrew I believe – Cody Rutscher May 16 '19 at 14:38
  • Can you run brew list and confirm that luarocks is shown in the output list? – Nimesh Neema May 16 '19 at 14:40
1

If you have installed LuaRocks via Homebrew by following the installation instructions by running

brew install luarocks

the install location can be determined by running

`brew info luarocks

Homebrew installs it in a directory under

/usr/local/Cellar/luarocks/

directory.

The rocks themselves are installed in the following directory:

/usr/local/lib/luarocks/

  • That worked, but where are the actual rocks installed? – Cody Rutscher May 16 '19 at 14:48
  • @CodyRutscher Updated the answer. – Nimesh Neema May 16 '19 at 15:12
  • I am getting an error when trying to install rock. Can I send you my terminal output? – Cody Rutscher May 16 '19 at 15:19
  • @CodyRutscher It would be better to create a separate question. – Nimesh Neema May 16 '19 at 15:27
  • It says I reached my question limit even though the question got upvoted. – Cody Rutscher May 16 '19 at 15:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .