start a rabbit mq server code example Example 1: start rabbit mq server brew services start rabbitmq Example 2: start rabbitmq server sudo rabbitmq-server