zsh: command not found: rabbitmq-server
Asked Answered
M

2

9

I've been following the RabbitMQ installation guide via homebrew.

It says to add a line to my .bash_profile, but since I'm using ohmyzsh for my terminal I'm guessing I have to edit my .zshrc file.

I've tried adding the following possibilities:

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

Unfortunately none of them worked.

Elsewhere in the .zshrc file I see this line: export ZSH=/Users/robinkim/.oh-my-zsh. This may give a clue as to what needs to be added.

EDIT: I simply forgot to brew link rabbitmq

Macswan answered 22/7, 2016 at 16:5 Comment(2)
After editing .zshrc, did you start a new shell or re-source the file?Mansour
doh.. apparently I forgot to run brew link rabbitmq after installation. sorry.Macswan
C
4

as said in the edit you must type brew link rabbitmq in your terminal

Calculation answered 11/3, 2017 at 22:51 Comment(0)
H
0

For me the solution was to run

brew services start rabbitmq

Hardwick answered 12/9, 2022 at 9:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.