To install MongoDB, follow the steps below based on your operating system:
For Ubuntu Users 🐧
Add MongoDB Repository
sudo apt-get update sudo apt-get install -y mongodb-org
[Install MongoDB on Ubuntu](/installation/ubuntu)Start MongoDB Service
sudo systemctl start mongod sudo systemctl enable mongod
For macOS Users 🍎
Using Homebrew
brew tap mongodb/brew brew install mongodb-community
Verify Installation
mongod --version
For Windows Users 💻
Download Installer
Visit MongoDB Official Website to download the Windows installer.Run Installer
Follow the on-screen prompts to complete the installation.
Need further assistance? Check our quickstart guide for step-by-step tutorials! 🚀