Using the MongoDB shell can be boring from a user experience perspective, but what will happen if you have a GUI for MongoDB? You will be able to manage each piece of data easily, like creating collections and documents and inserting or retrieving data visually.
So in this MongoDB tutorial, you will learn how to install MongoDB compass, which is the Graphical User Interface of MongoDB; whether you are a Windows, macOS or Ubuntu user, this MongoDB has a user interface that any user can use easily.
Let’s start,
What is MongoDB Compass?
The MongoDB compass is a GUI (Graphical User Interface) for MongoDB that allows you to manage data easily. It provides a user interface that you can use to create and manipulate data as you do with MongoDB.
It runs on various platforms, such as Windows, MacOS, and Ubuntu. You will see how to install MongoDB Compass on these platforms.
To install on any of the platforms, you need to download the installer file from the official website MongoDB compass.
Then download the MongoDB compass according to your platform as shown below.

Look at the picture. First, select your platform, such as Windows, macOS, or Ubuntu. Then click on the Download button to download the installer file. Now jump to the section of this tutorial according to your platform.
How To Install MongoDB Compass on Windows
To install the MongoDB compass on Windows 10/11, click on the downloaded file “mongodb-compass-1.43.0-win32-x64”. As soon as you click on the install file, a wizard opens showing installing MongoDB compass as shown below.

After a while, MongoDB Compass is installed on your system. A window opens showing “Welcome to Compass” and you have to click on the Start button, as shown below.

After clicking on the Start button, a section showing the New Connection appears; here, keep everything default, and then click on the Connect button, as shown in the picture below.

If you see the screen shown below, you have successfully installed MongoDB Compass and created a new connection.

How To Install MongoDB Compass on macOS
After downloading the MongoDB compass installer “mongodb-compass-1.43.0-darwin-x64.dmg”, click on it to begin the installation.
Then you see the wizard as shown below.

Look at the above picture. You need to drag the MongoDB Compass to your Application Folder. After that, you go to your Application folder and open the MongoDB compass as shown below.

After that, a window showing “Welcome to Compass” will open, and you will just need to click on the Start button, as shown below.

After clicking on the Start button, a section showing the New Connection appears; here, keep everything default, and then click on the Connect button, as shown in the picture below.

After clicking on the Connect button, you will be able to create a database.
How To Install MongoDB Compass on Ubuntu
To install the MongoDB compass on Ubuntu, you have to follow the same procedure: download the installer file and create a new connection.
Conclusion
Knowing how to install MongoDB compass on different platforms allows you to work in a multiplatform environment. As a developer, you must have knowledge about how to install MongoDB on macOS, windows and Ubuntu.
You may like to read:
I am Bijay having more than 15 years of experience in the Software Industry. During this time, I have worked on MariaDB and used it in a lot of projects. Most of our readers are from the United States, Canada, United Kingdom, Australia, New Zealand, etc.
Want to learn MariaDB? Check out all the articles and tutorials that I wrote on MariaDB. Also, I am a Microsoft MVP.