nstalling MongoDB Compass on Ubuntu is a straightforward process that can be completed in just a few steps.
Download the MongoDB Compass package for Ubuntu from the MongoDB website.
Open the terminal and navigate to the directory where the downloaded package is located.
Install the package by running the following command:
sudo apt install ./mongodb-compass_version_amd64.deb
(change the package name with the one you downloaded )
- Once the installation is complete, you can launch MongoDB Compass by running the following command:
A window should open with the MongoDB Compass login screen. If this is the first time you are running MongoDB Compass, you will need to create a connection to a running MongoDB instance. You can do this by clicking the "Create" button on the login screen and entering the connection details for your MongoDB instance.
Once you have created a connection, you can explore your MongoDB data and perform various operations, such as creating and modifying collections and documents, running queries, and more.
To run the Compass in background
nohup mongodb-compass &
And that's it! You should now have MongoDB Compass installed and running on your Ubuntu machine.
Top comments (0)