How to Install getmac NPM Packages on Ubuntu / Debian

How to Install getmac software package in NPM Packages

getmac : Get the mac address of the current machine you are on. You can installing getmac 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 getmac
$ sudo npm install -g getmac

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

$ sudo npm update getmac

Update package globally,

$ npm install -g getmac

Git clone:

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

getmac@1.2.1 /usr/lib/node_modules/getmac

How to remove getmac package :

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

$ sudo npm uninstall getmac

Basic Information of getmac NPM Package:

Package Name getmac
Version 1.2.1
Description Get the mac address of the current machine you are on
Released Date 2016-05-10T05:33:12.846Z
Published by balupton
How to Learn https://www.npmjs.com/package/getmac/tutorial