How to Install mosca NPM Packages on Ubuntu / Debian

How to Install mosca software package in NPM Packages

mosca : MQTT broker as a module. You can installing mosca 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 mosca
$ sudo npm install -g mosca

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

$ sudo npm update mosca

Update package globally,

$ npm install -g mosca

Git clone:

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

mosca@2.7.0 /usr/lib/node_modules/mosca

How to remove mosca package :

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

$ sudo npm uninstall mosca

Basic Information of mosca NPM Package:

Package Name mosca
Version 2.7.0
Description MQTT broker as a module
Released Date 2017-10-30T10:34:21.832Z
Published by matteo.collina
How to Learn https://www.npmjs.com/package/mosca/tutorial