Prelude: Rasperry Pi is a very powerful and popular ARM board, and can be installed with Raspian ( Debian 8 ) Jessie very easily with NOOBS. However the node.js version included is version 0.10.x , which is rather old, and I think the main reason is be compatible with node-red. This will cause trouble if you want to install johnny-five in it. based on excellent tutorial on pubnub , npmjs and jwaldron github, I list out the workflow on how to do it. on Arduino: install ConfigurableFirmata ( see PubNub tutorial ) is pretty straightforward on Raspberry Pi: install node.js from nodejs.org curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install -y nodejs npm (node package manager ) is already installed check version of npm: Ubuntu and Debian Install Node.js >= 0.10.x sudo apt-get install nodejs Install the nodejs-legacy package ...