Menu

The Homebrew RabbitMQ Formula

Overview

Homebrew is a popular package manager for MacOS. RabbitMQ formula is available from Homebrew's core tap (out of the box).

The formula will also install a reasonably recent supported Erlang/OTP version as a dependency.

Installation

Before installing make sure the taps are up-to-date:

brew update

Then, install RabbitMQ server with:

brew install rabbitmq

Installing the RabbitMQ formula will install key dependencies such as a supported Erlang/OTP version.

Operations

The RabbitMQ server scripts and CLI tools are installed into the sbin directory under /usr/local/Cellar/rabbitmq/<version>/, which is accessible from /usr/local/opt/rabbitmq/sbin. Links to binaries have been created under /usr/local/sbin. In case that directory is not in PATH it's recommend to append it:

export PATH=$PATH:/usr/local/sbin

Add the above expert to the shell profile (such as ~/.bashrc for bash or ~/.zshrc for zsh) to have PATH updated for every new shell, including OS restarts.

The server can then be started with rabbitmq-server in the foreground or with brew services start rabbitmq to have it run under launchd in the background.

With Homebrew, the node and CLI tools will use the logged in user account by default. Using sudo is not required.

Otherwise operations are no different from the generic binary build. Please refer to the Operations section of the generic binary build guide.

Getting Help and Providing Feedback

If you have questions about the contents of this guide or any other topic related to RabbitMQ, don't hesitate to ask them on the RabbitMQ mailing list.

Help Us Improve the Docs <3

If you'd like to contribute an improvement to the site, its source is available on GitHub. Simply fork the repository and submit a pull request. Thank you!