How to Install peer-id NPM Packages on Ubuntu / Debian

How to Install peer-id software package in NPM Packages

peer-id : IPFS Peer Id implementation in Node.js. You can installing peer-id 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 peer-id
$ sudo npm install -g peer-id

If want to update the peer-id package execute the command as below,

$ sudo npm update peer-id

Update package globally,

$ npm install -g peer-id

Git clone:

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

peer-id@0.10.2 /usr/lib/node_modules/peer-id

How to remove peer-id package :

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

$ sudo npm uninstall peer-id

Basic Information of peer-id NPM Package:

Package Name peer-id
Version 0.10.2
Description IPFS Peer Id implementation in Node.js
Released Date 2017-10-12T08:22:00.828Z
Published by daviddias
How to Learn https://www.npmjs.com/package/peer-id/tutorial