Geek Culture
Published in

Geek Culture

Installing RabbitMQ on Windows

This is step by step simplified tutorial on how to install RabbitMQ on Windows machine.

For using RabbitMQ inside docker container see here.

Note: There is assumption that you’re using Erlang only for RabbitMQ and for nothing else.

  • If you have old RabbitMQ installed, first of all export it’s setting from the management UI:

After you login scroll down and click on “Download Broker definition” and download file.

After you will finish installation of new version of RabbitMQ click on “Upload Broker definitions” and upload the file.

The Erlang programming language has immutable data, pattern matching, and functional programming

  • Uninstall RabbitMQ

1. From download 23.x version & install using an administrative user

2. Set ERLANG_HOME to where you actually put your Erlang installation, e.g. C:\Program Files\erl{version} (full path, we have version=23.1.5). The RabbitMQ batch files expect to execute %ERLANG_HOME%\bin\erl.exe.

Go to Start > Settings > Control Panel > System > Advanced > Environment Variables. Create the system environment variable ERLANG_HOME and set it to the full path of the directory which contains bin\erl.exe.

3. Restart computer

4. Check that Erlang is working:

  • open cmd and type


You should see Eshell prompt:

5. Once a supported version of Erlang is installed, download the RabbitMQ installer, rabbitmq-server-{version}.exe and run it. It installs RabbitMQ as a Windows service and starts it using the default configuration.

Go to and download & run rabbitmq-server-3.8.9.exe

See also:

6. Based on

Open new cmd and type
cd C:\Program Files\RabbitMQ Server\rabbitmq_server-{version}\sbin

cd C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.9\sbin

rabbitmq-plugins.bat enable rabbitmq_management

You should see


rabbitmq-plugins enable rabbitmq_shovel rabbitmq_shovel_management

You should see

7. Edit C:\Windows\System32\drivers\etc\hosts file. Add to it the following line: rabbitmq

8. Once all done open : http://rabbitmq:15672/ for opening the rabbitmq management.

Username: guest

Password: guest

For the client code that works with installed RabbitMQ you can go to to the Code Example section. The same code will work with installed RabbitMQ provided you have added rabbitmq to the C:\Windows\System32\drivers\etc\hosts file (alternatively, you can change hostparameter of the ConnectionParameters to localhost).




A new tech publication by Start it up (

Recommended from Medium

RingCentral Developers Winter ’20 Release

Lesson 33: The Priority Queue Data Structure

LambdaDays 2019 recap

Making Better HTTP Requests In Laravel 7 With Guzzle

Anki for music

Explain ServiceNow Azure integration

Exploring Ethereum blockchain events: Data Analysis

Ballerina VSCode Plugin — Graphical Editor for Ballerina

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Senior Software Engineer at Pursway

More from Medium

How to Deploy .NET

Using containers for your project

Simple docker architecture

DDL(Data Definition Language) Statements in PostgreSQL