Node.JS and Python with BlinkStick on Alpine Linux

alpinelinux-logo

Alpine Linux seems to be getting quite popular for it’s extremely small size and great package availability. Installing BlinkStick with Node.JS or Python support is quite simple.

Node.JS

Install by running these two commands:

sudo apk add --update alpine-sdk nodejs linux-headers libusb-dev eudev-dev
npm install blinkstick

Test the installation by running the following example:

node node_modules/blinkstick/examples/blink/blink.js

Find out more about BlinkStick Node module.

Python

sudo apk add --update alpine-sdk libusb python py-pip
sudo pip install blinkstick

Run the command line tool which comes bundled with BlinkStick Python package to test the installation:

blinkstick red

Find out more about BlinkSick Python package.

Leave a Reply

Your email address will not be published. Required fields are marked *