To install MongoDB on your Windows, macOS, or Linux systems, run the following steps:
- Download MongoDB from the download center from the following link for a windows or Mac system:
https://www.mongodb.com/download-center
- On a Linux system you can download it from:
sudo apt-get install -y mongodb-org
- MongoDB requires a separate repository of its own where you can extract and store the contents upon installation
- Finally you can start the MongoDB service