How to Install mongodb NPM Packages on Ubuntu / Debian

How to Install mongodb software package in NPM Packages

mongodb : The official MongoDB driver for Node.js. You can installing mongodb npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install mongodb
$ sudo npm install -g mongodb

If want to update the mongodb package execute the command as below,

$ sudo npm update mongodb

Update package globally,

$ npm install -g mongodb

Git clone:

$ sudo  git clone https://github.com/rektide/mongodb.git
$ sudo  npm install -g ./mongodb

mongodb@2.2.33 /usr/lib/node_modules/mongodb

How to remove mongodb package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall mongodb

Basic Information of mongodb NPM Package:

Package Name mongodb
Version 2.2.33
Description The official MongoDB driver for Node.js
Released Date 2017-10-12T19:25:36.576Z
Published by mbroadst
How to Learn https://www.npmjs.com/package/mongodb/tutorial