download mongodb compass for linux code example
Example 1: mongodb compass community linux
--donwload
wget https://downloads.mongodb.com/compass/mongodb-compass_1.24.1_amd64.deb
--install
sudo dpkg -i mongodb-compass_1.24.1_amd64.deb
--run
mongodb-compass
Example 2: install mongo compass
//installation in ubuntu
wget https://downloads.mongodb.com/compass/mongodb-compass_1.15.1_amd64.deb
sudo dpkg -i mongodb-compass_1.15.1_amd64.deb
sudo apt --fix-broken install //if you get any broken dependency error
sudo apt -y install libgconf2-4
mongodb-compass;