How to Install highlightjs NPM Packages on Ubuntu / Debian

How to Install highlightjs software package in NPM Packages

highlightjs : Syntax highlighting for the Web. You can installing highlightjs 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 highlightjs
$ sudo npm install -g highlightjs

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

$ sudo npm update highlightjs

Update package globally,

$ npm install -g highlightjs

Git clone:

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

highlightjs@9.10.0 /usr/lib/node_modules/highlightjs

How to remove highlightjs package :

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

$ sudo npm uninstall highlightjs

Basic Information of highlightjs NPM Package:

Package Name highlightjs
Version 9.10.0
Description Syntax highlighting for the Web
Released Date 2017-03-15T06:54:14.895Z
Published by robloach
How to Learn https://www.npmjs.com/package/highlightjs/tutorial