How to Install serve NPM Packages on Ubuntu / Debian

How to Install serve software package in NPM Packages

serve : Static file serving and directory listing. You can installing serve 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 serve
$ sudo npm install -g serve

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

$ sudo npm update serve

Update package globally,

$ npm install -g serve

Git clone:

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

serve@6.4.1 /usr/lib/node_modules/serve

How to remove serve package :

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

$ sudo npm uninstall serve

Basic Information of serve NPM Package:

Package Name serve
Version 6.4.1
Description Static file serving and directory listing
Released Date 2017-11-03T21:41:29.515Z
Published by leo
How to Learn https://www.npmjs.com/package/serve/tutorial