How to Install pug NPM Packages on Ubuntu / Debian

How to Install pug software package in NPM Packages

pug : A clean, whitespace-sensitive template language for writing HTML. You can installing pug 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 pug
$ sudo npm install -g pug

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

$ sudo npm update pug

Update package globally,

$ npm install -g pug

Git clone:

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

pug@2.0.0-rc.4 /usr/lib/node_modules/pug

How to remove pug package :

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

$ sudo npm uninstall pug

Basic Information of pug NPM Package:

Package Name pug
Version 2.0.0-rc.4
Description A clean, whitespace-sensitive template language for writing HTML
Released Date 2017-09-06T15:28:14.627Z
Published by forbeslindesay
How to Learn https://www.npmjs.com/package/pug/tutorial