How to Install detect-port NPM Packages on Ubuntu / Debian

How to Install detect-port software package in NPM Packages

detect-port : detect available port. You can installing detect-port 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 detect-port
$ sudo npm install -g detect-port

If want to update the detect-port package execute the command as below,

$ sudo npm update detect-port

Update package globally,

$ npm install -g detect-port

Git clone:

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

detect-port@1.2.2 /usr/lib/node_modules/detect-port

How to remove detect-port package :

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

$ sudo npm uninstall detect-port

Basic Information of detect-port NPM Package:

Package Name detect-port
Version 1.2.2
Description detect available port
Released Date 2017-11-05T17:10:27.738Z
Published by xudafeng
How to Learn https://www.npmjs.com/package/detect-port/tutorial