[WIN] Install MongoDB - official docs
Run the following commands in your terminal:
$ wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
$ echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
$ sudo apt update
$ sudo apt install mongodb --assume-yes
$ sudo apt remove mongo-tools mongodb mongodb-clients mongodb-server mongodb-server-core --assume-yes
$ sudo apt install mongodb-org --assume-yes
To start MongoDB on your machine:
$ sudo service mongodb start
Install MongoDB Compass - official docs
- Visit the Download and Install Compass page.
- Select WINDOWS for Windows OS.
- Follow the instructions to install the MongoDB Compass app.
You must download the normal version, not the Community Edition.