Install mongodb prebuilt binaries using npm. This module helps you easily install the
mongodb without having to compile anything.
MongoDB is an open-source, document database designed for ease of development and scaling.
Download and install the latest build of mongodb for your OS and add it to your projects
package.json as a
npm install mongodb-prebuilt
--global to make MongoDB binaries accessible without additional configurations.
npm install -g mongodb-prebuilt
If that command fails with an
EACCESS error you may have to run it again with
sudo npm install -g mongodb-prebuilt
Now you can just run
mongod to run mongodb:
Complete list of programs:
Works on Mac, Windows, Linux and Solaris OSes that MongoDB supports.
let MongodHelper = ;let mongodHelper = '--port' "27018";mongodHelper;