install mongo db 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: mongo install linux
sudo apt install mongodb-clients
Example 3: install mongodb 2018 instructions
mongo --version
Example 4: install mongodb 2018 instructions
vim .bash_profile
Example 5: install mongodb 2018 instructions
touch .bash_profile