aboutsummaryrefslogtreecommitdiff
path: root/docs/installation_instructions_for_macos.md
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2025-01-05 21:40:39 -0300
committerHisham Muhammad <hisham@gobolinux.org>2025-01-05 21:40:39 -0300
commitf5c5db5a7378d97a6f261ffaa10c84e2005bfc4e (patch)
treec2f0cb86890fb90a85a7f091746543c7ff14ac5e /docs/installation_instructions_for_macos.md
parent7fe5532c695711d23fd9d7e13a9e6235478171b6 (diff)
downloadluarocks-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.md39
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
3LuaRocks is a command-line tool. You can install LuaRocks using one of the
4third-party package managers available for macOS (formerly known as "Mac OS X"
5or "OS X"), or you may install it manually, in the Unix way.
6
7# Option 1: using Homebrew
8
9One option is to use [Homebrew](https://brew.sh). If you don't have it
10installed, follow its installation instructions.
11
12If you already have it installed, make sure it is up to date so you pick the
13most recent version of LuaRocks:
14
15```
16brew update
17```
18
19and then install LuaRocks:
20
21```
22 brew install luarocks
23```
24
25# Option 2: installing it manually
26
27If you do not wish to use a package management tool to install LuaRocks, you
28can install it on macOS as you would do in any other Unix system, assuming you
29have the Mac Developer Tools installed. Download the Unix tarball and then
30follow the [installation instructions for
31Unix](installation_instructions_for_unix.md) to install it to /usr/local.
32
33# Next steps
34
35Once LuaRocks is installed, learn more about [using
36LuaRocks](using_luarocks.md).
37
38
39