Skip to content

Commit 9cc382c

Browse files
committed
added instructions to install with Homebrew
1 parent 4c4170e commit 9cc382c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,18 @@ curl -sSLO https://raw.githubusercontent.com/hook-lang/hook/main/scripts/install
4848
install
4949
```
5050

51-
## Building from the source code
51+
### Installing with Homebrew
52+
53+
If you're a macOS user (works on Linux too), you can also install Hook using [Homebrew](https://brew.sh):
54+
55+
```
56+
brew tap hook-lang/hook
57+
brew install hook
58+
```
59+
60+
> **Note**: Follow the instructions provided by Homebrew to add the `HOOK_HOME` environment variable to your system.
61+
62+
### Building from the source code
5263

5364
If you prefer, you can also build Hook locally by following the instructions provided in [BUILDING.md](BUILDING.md).
5465

0 commit comments

Comments
 (0)