- Grab the latest stable release from the download page
- Unzip the archive to a folder called
${MONGO_HOME}on your disk - Create a folder
/data/dbon the same drive/partition - Go to
${MONGO_HOME}/bin - Execute the binary
mongod(ormongod.exeon Windows)
For a more detailed explanation, see the MongoDB installation guide.