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

How to Install get-port software package in NPM Packages

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

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

$ sudo npm update get-port

Update package globally,

$ npm install -g get-port

Git clone:

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

get-port@3.2.0 /usr/lib/node_modules/get-port

How to remove get-port package :

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

$ sudo npm uninstall get-port

Basic Information of get-port NPM Package:

Package Name get-port
Version 3.2.0
Description Get an available port
Released Date 2017-08-20T08:42:48.916Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/get-port/tutorial