How do I verify my version of RabbitMQ?

This article examines the process of checking your RabbitMQ version using the command line in both Windows and Ubuntu and via the RabbitMQ management console.

RabbitMQ Version from the Management Console

If you have the RabbitMQ management plugin installed, you have probably seen that it offers many useful metrics. The version number is prominently displayed on the console, like shown in the image below:

After starting RabbitMQ, open a browser and navigate to the appropriate URL. The default URL is http://localhost:15762

Both the RabbitMQ and Erlang versions are present in the upper part of every page after you login.

If you are a CloudAMQP customer, simply press the RabbitMQ manager button from the control panel.

Using the Command Line to Check your RabbitMQ Version

It is possible to obtain this information from the command line. Beware that the command returns might include more information than listed in the example below, and you will need to search for the correct entry. Ensure that RabbitMQ is in your path to be able to perform rabbitmqctl.

For Ubuntu, enter the following command:

$ sudo rabbitmqctl status | grep "RabbitMQ\|rabbitmq"
RabbitMQ version: 3.8.1

The command assumes that accessing your console requires sudo rights. Look for a line saying something like RabbitMQ version: 3.8.1, or {rabbit,"RabbitMQ","3.7.3"}. The results look different for different versions.

For windows, open PowerShell, and enter the following:

rabitmqctl.bat status
…{rabbit,"RabbitMQ","3.8.0"},…

Again, ensure that RabbitMQ is in your path. You will need to specify the full path to your .bat file if RabbitMQ is not set in your environment.

CloudAMQP

CloudAMQP gives you instant access to the latest RabbitMQ instances. You gain access to a fully managed RabbitMQ instance equipped with the latest release. Try our free tier today.

CloudAMQP - industry leading RabbitMQ as a service

Start your managed cluster today. CloudAMQP is 100% free to try.

13,000+ users including these smart companies