- 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/db
on the same drive/partition - Go to
${MONGO_HOME}/bin
- Execute the binary
mongod
(ormongod.exe
on Windows)
For a more detailed explanation, see the MongoDB installation guide.