How To Install MongoDB Compass

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.

What is MongoDB Compass and How to Download

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.

How To Install MongoDB Compass on Windows

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.

How To Install MongoDB Compass on Windows - Welcome Screen

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.

How To Install MongoDB Compass on Windows - Connecting to MongoDB Server

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

How To Install MongoDB Compass on Windows - Successfully Installed

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.

How To Install MongoDB Compass on macOS

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.

How To Install MongoDB Compass on macOS - Opening MongoDB Compass

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

How To Install MongoDB Compass on macOS - Welcome Screen

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.

How To Install MongoDB Compass on macOS - Connecting to MongoDB Server

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:

Top 200 SQL Server Interview Questions and Answers

Free PDF On Top 200 SQL Server Interview Questions And Answers

Download A 40 pages PDF And Learn Now.