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


What am I missing?

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

1 Answer 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



The rocks themselves are installed in the following directory:


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

You must log in to answer this question.

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