Server Pi on the side, Node.js, Python or PHP?

I’m currently in two minds wether to make use of Node.js, Python or even PHP to control my GPIO on my Raspberry Pi.

How to install Node.js on the Raspberry Pi

This actually vary simple, since precompiled binaries are now available. Previously it would take around 90min to compile Node.js from source on the pi.

sudo apt-get install nodejs npm

If everything went according to plan, you should be able to run:

$ node --version
$ npm --version

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s