- Firstly you downloaded mongodb
4.2.12from here - Unzip the folder in your directory example
C:\mongodb - Open the command prompt
- Go to your folder where the bin is and you write this on your command prompt :
cd C:\mongodb\bin - Then you have to specifies the directory where you want to put the data, you can create a folder called :
C:\mongodb\data - Whrite on your command prompt:
mongod.exe --dbpath C:\mongodb\data - Open new command prompt and write:
cd C:\mongodb\binthenmongo.exe
- Downloaded Mongodb Compass
1.25.0from here - Unzip the folder in your directory and run
MongoDBCompass.exe