Skip to content

Commit c72a3bc

Browse files
authored
Added alternative paths for Apple Silicon
Added alternative paths to homebrew installations for Apple Silicon according to https://www.rabbitmq.com/install-homebrew.html
1 parent fe9b60d commit c72a3bc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

site/install-homebrew.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,16 @@ Installing the RabbitMQ formula will install key dependencies such as a [support
4545

4646
## <a id="operations" class="anchor" href="#operations">Operations</a>
4747

48-
The RabbitMQ server scripts and [CLI tools](./cli.html) are installed into the `sbin` directory under `/usr/local/Cellar/rabbitmq/<version>/`,
49-
which is accessible from `/usr/local/opt/rabbitmq/sbin`. Links to binaries have been created under `/usr/local/sbin`.
48+
The RabbitMQ server scripts and [CLI tools](./cli.html) are installed into the `sbin` directory under `/usr/local/Cellar/rabbitmq/<version>/` for macOS Intel or `/opt/homebrew/Cellar/rabbitmq/<version>/` for Apple Silicon,
49+
which is accessible from `/usr/local/opt/rabbitmq/sbin` for for macOS Intel or `/opt/homebrew/opt/rabbitmq/sbin` for Apple Silicon. Links to binaries have been created under `/usr/local/sbin` for macOS Intel or `/opt/homebrew/sbin` for Apple Silicon.
50+
5051
In case that directory is not in `PATH` it's recommended to append it:
5152

5253
<pre class="lang-bash">
54+
# for macOS Intel
5355
export PATH=$PATH:/usr/local/sbin
56+
# for Apple Silicon
57+
export PATH=$PATH:/opt/homebrew/sbin
5458
</pre>
5559

5660
Add the above export to the shell profile (such as `~/.bashrc` for bash or `~/.zshrc` for zsh)

0 commit comments

Comments
 (0)