Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

zsh: command not found: rabbitmq-server

Tags:

zsh

rabbitmq

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

like image 622
robinnnnn Avatar asked Jul 22 '16 16:07

robinnnnn


People also ask

How do I know if RabbitMQ is installed on Mac?

For Linux/Unix/Mac: 0 you can use the RabbitMQ command line tool. You can also use the rabbitmq-diagnostics to check the server_version. It's a useful tool for diagnostics, health checks and monitoring.

How do I enable RabbitMQ server?

To enable it, do the following: Open a command-line console (run as Administrator) and change to the RabbitMQ batch scripts folder; Execute the following command: rabbitmq-plugins. bat enable rabbitmq_management.

Where is RabbitMQ installed Mac?

RabbitMQ server and CLI tools are generally inside /usr/local/Cellar/rabbitmq/{version}/sbin/ directory. On my Mac the RabbitMQ server and CLI tools are present inside the /usr/local/Cellar/rabbitmq/3.7.


1 Answers

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

like image 164
Seal Avatar answered Sep 21 '22 08:09

Seal