How to Install prettyjson NPM Packages on Ubuntu / Debian

How to Install prettyjson software package in NPM Packages

prettyjson : Package for formatting JSON data in a coloured YAML-style, perfect for CLI output. You can installing prettyjson 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 prettyjson
$ sudo npm install -g prettyjson

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

$ sudo npm update prettyjson

Update package globally,

$ npm install -g prettyjson

Git clone:

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

prettyjson@1.2.1 /usr/lib/node_modules/prettyjson

How to remove prettyjson package :

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

$ sudo npm uninstall prettyjson

Basic Information of prettyjson NPM Package:

Package Name prettyjson
Version 1.2.1
Description Package for formatting JSON data in a coloured YAML-style, perfect for CLI output
Released Date 2016-12-01T16:41:24.347Z
Published by rafeca
How to Learn https://www.npmjs.com/package/prettyjson/tutorial