How to Install rpi-gpio NPM Packages on Ubuntu / Debian

How to Install rpi-gpio software package in NPM Packages

rpi-gpio : Control Raspberry Pi GPIO pins with node.js. You can installing rpi-gpio 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 rpi-gpio
$ sudo npm install -g rpi-gpio

If want to update the rpi-gpio package execute the command as below,

$ sudo npm update rpi-gpio

Update package globally,

$ npm install -g rpi-gpio

Git clone:

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

rpi-gpio@0.9.1 /usr/lib/node_modules/rpi-gpio

How to remove rpi-gpio package :

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

$ sudo npm uninstall rpi-gpio

Basic Information of rpi-gpio NPM Package:

Package Name rpi-gpio
Version 0.9.1
Description Control Raspberry Pi GPIO pins with node.js
Released Date 2017-09-27T19:00:16.066Z
Published by jamesbarwell
How to Learn https://www.npmjs.com/package/rpi-gpio/tutorial