Setting up Rasberry Pi Install nodejs curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs Installing node-serialport npm install serialport