How to Install ssh2 NPM Packages on Ubuntu / Debian

How to Install ssh2 software package in NPM Packages

ssh2 : SSH2 client and server modules written in pure JavaScript for node.js. You can installing ssh2 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 ssh2
$ sudo npm install -g ssh2

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

$ sudo npm update ssh2

Update package globally,

$ npm install -g ssh2

Git clone:

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

ssh2@0.5.5 /usr/lib/node_modules/ssh2

How to remove ssh2 package :

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

$ sudo npm uninstall ssh2

Basic Information of ssh2 NPM Package:

Package Name ssh2
Version 0.5.5
Description SSH2 client and server modules written in pure JavaScript for node.js
Released Date 2017-05-29T01:44:24.839Z
Published by mscdex
How to Learn https://www.npmjs.com/package/ssh2/tutorial