diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2025-01-05 21:40:39 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2025-01-05 21:40:39 -0300 |
commit | f5c5db5a7378d97a6f261ffaa10c84e2005bfc4e (patch) | |
tree | c2f0cb86890fb90a85a7f091746543c7ff14ac5e /docs/installation_instructions_for_macos.md | |
parent | 7fe5532c695711d23fd9d7e13a9e6235478171b6 (diff) | |
download | luarocks-f5c5db5a7378d97a6f261ffaa10c84e2005bfc4e.tar.gz luarocks-f5c5db5a7378d97a6f261ffaa10c84e2005bfc4e.tar.bz2 luarocks-f5c5db5a7378d97a6f261ffaa10c84e2005bfc4e.zip |
docs: import Wiki docs into the main repo
Diffstat (limited to 'docs/installation_instructions_for_macos.md')
-rw-r--r-- | docs/installation_instructions_for_macos.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/installation_instructions_for_macos.md b/docs/installation_instructions_for_macos.md new file mode 100644 index 00000000..216e042d --- /dev/null +++ b/docs/installation_instructions_for_macos.md | |||
@@ -0,0 +1,39 @@ | |||
1 | # Installation instructions for macOS | ||
2 | |||
3 | LuaRocks is a command-line tool. You can install LuaRocks using one of the | ||
4 | third-party package managers available for macOS (formerly known as "Mac OS X" | ||
5 | or "OS X"), or you may install it manually, in the Unix way. | ||
6 | |||
7 | # Option 1: using Homebrew | ||
8 | |||
9 | One option is to use [Homebrew](https://brew.sh). If you don't have it | ||
10 | installed, follow its installation instructions. | ||
11 | |||
12 | If you already have it installed, make sure it is up to date so you pick the | ||
13 | most recent version of LuaRocks: | ||
14 | |||
15 | ``` | ||
16 | brew update | ||
17 | ``` | ||
18 | |||
19 | and then install LuaRocks: | ||
20 | |||
21 | ``` | ||
22 | brew install luarocks | ||
23 | ``` | ||
24 | |||
25 | # Option 2: installing it manually | ||
26 | |||
27 | If you do not wish to use a package management tool to install LuaRocks, you | ||
28 | can install it on macOS as you would do in any other Unix system, assuming you | ||
29 | have the Mac Developer Tools installed. Download the Unix tarball and then | ||
30 | follow the [installation instructions for | ||
31 | Unix](installation_instructions_for_unix.md) to install it to /usr/local. | ||
32 | |||
33 | # Next steps | ||
34 | |||
35 | Once LuaRocks is installed, learn more about [using | ||
36 | LuaRocks](using_luarocks.md). | ||
37 | |||
38 | |||
39 | |||