How to Install prettier NPM Packages on Ubuntu / Debian

How to Install prettier software package in NPM Packages

prettier : Prettier is an opinionated code formatter. You can installing prettier 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 prettier
$ sudo npm install -g prettier

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

$ sudo npm update prettier

Update package globally,

$ npm install -g prettier

Git clone:

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

prettier@1.8.2 /usr/lib/node_modules/prettier

How to remove prettier package :

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

$ sudo npm uninstall prettier

Basic Information of prettier NPM Package:

Package Name prettier
Version 1.8.2
Description Prettier is an opinionated code formatter
Released Date 2017-11-09T11:26:24.455Z
Published by azz
How to Learn https://www.npmjs.com/package/prettier/tutorial