Update Homebrew’s package database.
brew update
To install the MongoDB binaries, issue the following command in a system shell:
brew install rabbitmq
The RabbitMQ server scripts are installed into /usr/local/sbin. This is not automatically added to your path, so you may wish to add:
export PATH=$PATH:/usr/local/sbin to your .bash_profile or .profile or .bashrc
All scripts run under your own user account. Sudo is not required.
To install as a services :
brew services start rabbitmq
or as a standalone process:
rabbitmq-server
The broker creates a user guest with password guest. Unconfigured clients will in general use these credentials. By default, these credentials can only be used when connecting to the broker as localhost so you will need to take action before connecting fromn any other machine.