How to Install i2c NPM Packages on Ubuntu / Debian

How to Install i2c software package in NPM Packages

i2c : Native bindings for i2c-dev. Plays well with Raspberry Pi and BeagleBone.. You can installing i2c 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 i2c
$ sudo npm install -g i2c

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

$ sudo npm update i2c

Update package globally,

$ npm install -g i2c

Git clone:

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

i2c@0.2.3 /usr/lib/node_modules/i2c

How to remove i2c package :

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

$ sudo npm uninstall i2c

Basic Information of i2c NPM Package:

Package Name i2c
Version 0.2.3
Description Native bindings for i2c-dev. Plays well with Raspberry Pi and BeagleBone.
Released Date 2016-06-15T17:00:43.039Z
Published by kelly
How to Learn https://www.npmjs.com/package/i2c/tutorial