How to Install socket.io NPM Packages on Ubuntu / Debian

How to Install socket.io software package in NPM Packages

socket.io : node.js realtime framework server. You can installing socket.io 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 socket.io
$ sudo npm install -g socket.io

If want to update the socket.io package execute the command as below,

$ sudo npm update socket.io

Update package globally,

$ npm install -g socket.io

Git clone:

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

socket.io@2.0.4 /usr/lib/node_modules/socket.io

How to remove socket.io package :

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

$ sudo npm uninstall socket.io

Basic Information of socket.io NPM Package:

Package Name socket.io
Version 2.0.4
Description node.js realtime framework server
Released Date 2017-10-22T13:17:40.603Z
Published by darrachequesne
How to Learn https://www.npmjs.com/package/socket.io/tutorial