Follow simple steps below to install RabbitMQ with Homebrew.


Install the Server


# Update brew
$ brew update

# Install the server
$brew install rabbitmq

If you get Error: parent directory is world writable but not sticky message towards the end of installing the server, do the following.


# Update permissions
$ sudo chmod +t /private/tmp/

# Re-run installation
$brew install rabbitmq

Update bash profile


The RabbitMQ server scripts are now under /usr/local/sbin so you need to define it in either .bash_profile or .profile files.


# Open the file
nano ~/.bash_profile

# Add this additional line into it and save
export PATH=$PATH:/usr/local/sbin

Run the server


$ rabbitmq-server

RabbitMQ 3.6.0. Copyright (C) 2007-2015 Pivotal Software, Inc.
## ## Licensed under the MPL. See http://www.rabbitmq.com/
## ##
########## Logs: /usr/local/var/log/rabbitmq/rabbit@localhost.log
###### ## /usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log
##########
Starting broker... completed with 10 plugins.

Management tool


You can now access browser based management tool via http://localhost:15672/ and the default username and password is guest:guest.