install rabbitmq

  1. install xcode

    1
    xcode-select --install
  2. Before installing make sure you have the latest brews:

    1
    2
    brew update
    brew install rabbitmq
  3. Add PATH to .bash_profile
    My OS: macOS Sierra 10.14.4
    My RabbitMQ was installed into /usr/local/Cellar.
    In terminal:
    ls /usr/local/Cellar/rabbitmq/
    to check which version you have installed, and then add to .bash_profile:

    1
    export PATH=/usr/local/Cellar/rabbitmq/<version>/sbin:$PATH