Notes:
If you already have MongoDB installed but don’t have MongoDB Compass, we recommend that you uninstall your current version of MongoDB before proceeding.
If you encounter any issues during installation, you can consult the additional documentation available on the MongoDB website.
Here are the steps:
Go to the MongoDB Download Center.
Make sure that the following options are selected in the drop-down menus:
Click the Download button, and wait for the download to complete.
Click or double-click on the downloaded file to start the installer.
Click Next.
Accept the terms of the License Agreement and click Next.
Choose Complete when asked for the setup type.
Continue clicking Next to accept all of the default setup options, and then click the Install button to begin the installation.
Wait for the installer to complete. Once it does:
The MongoDB server should launch in the background as a Windows service, although it may not be obvious that it has done so.
MongoDB Compass should launch in its own window and ask you to setup a new connection.
In the New Connection window in MondoDB Compass, you should see an option that includes the term “localhost”, which is the MongoDB server that is running in the background on your machine.
Click the Connect button.
Last updated on September 15, 2024.