-
Notifications
You must be signed in to change notification settings - Fork 0
MongoDB Windows Installation
SunilOS edited this page Mar 8, 2023
·
1 revision
- Go to the MongoDB download center website: https://www.mongodb.com/download-center/community.
- Scroll down to the "Community Server" section and select the version of MongoDB you want to install. Click the "Download" button for the Windows version.
- Choose the appropriate version based on your Windows platform (32-bit or 64-bit).
- Once the download is complete, locate the downloaded installer file and double-click it to start the installation process.
- Follow the installation wizard, accepting the default options for most of the steps.
- When prompted, choose the "Complete" installation type.
- Once the installation is complete, MongoDB will be installed in the "C:\Program Files\MongoDB" directory.
- To run MongoDB, open a command prompt and navigate to the MongoDB bin directory, which should be "C:\Program Files\MongoDB\Server{version}\bin". Replace "{version}" with the version number you installed.
- In the bin directory, run the "mongod.exe" executable to start the MongoDB server.
- Optionally, you can also install MongoDB Compass, a GUI tool for MongoDB, by selecting the "Custom" installation type during the installation process and selecting "MongoDB Compass" from the list of features.
That's it! MongoDB should now be installed on your Windows system.