https://www.mongodb.com/try/download/compas code example
Example 1: 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;
Example 2: MongoDB Compass
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash