How to Install http-server NPM Packages on Ubuntu / Debian

How to Install http-server software package in NPM Packages

http-server : A simple zero-configuration command-line http server. You can installing http-server 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 http-server
$ sudo npm install -g http-server

If want to update the http-server package execute the command as below,

$ sudo npm update http-server

Update package globally,

$ npm install -g http-server

Git clone:

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

http-server@0.10.0 /usr/lib/node_modules/http-server

How to remove http-server package :

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

$ sudo npm uninstall http-server

Basic Information of http-server NPM Package:

Package Name http-server
Version 0.10.0
Description A simple zero-configuration command-line http server
Released Date 2017-05-01T17:44:13.992Z
Published by bigbluehat
How to Learn https://www.npmjs.com/package/http-server/tutorial