Install MongoDB on Windows 10
When developing apps on your local machine, you may want the portable mongodb server. You’ll need to do a few steps to run it:
- Download the windows zip file from the Mongo DB site
- Extract to an simple folder (i.e. C:\mongodb)
- Create a folder inside the binary folder named
data
and under that folder create another one calleddb
. It should have a path like this:C:\mongodb\bin\data\db
- Change directory to the
bin
folder and run./mongodb.exe --dbpath ./data/db