Installation on Raspberry Pi

Installation of the editor can be performed in two ways.  One is the more trusting, but much easier way, the second is a bit more manual.

Easy installation:

Log into your Raspberry Pi.  If you're on a Mac, you can open to log into the Raspberry Pi over SSH. Linux users can open the default terminal application. If you're using Windows, you'll want to download a good terminal application.  My favorite is PuTTY.  

Once you have the terminal application open, assuming you're using Occidentalis, type in the following:
Once you type your password in, and get a prompt, you can copy and paste the following command, and hit enter.  This command will download an script from our github repository, and execute it automatically for you.
curl | sudo sh
The editor will be installed into /usr/share/adafruit/webide using the user webide.  The script will install node, npm, redis-server, git, restartd (watches over your editor server), avahi-daemon (bonjour!), i2c-tools, and libcap2-bin (so we can use port 80 without root).  If you'd like to review the script, it's located in our repository.
The installation may take from 3-5 minutes, so please be patient.
After the installation is complete, you'll see the following prompt:
**** Starting the server...(please wait) ****
**** The Adafruit WebIDE is installed and running! ****
**** Commands: sudo service {start,stop,restart} ****
**** Navigate to http://raspberrypi.local to use the WebIDE
The editor is now installed, and you can open a browser to access it from any computer in your network.  

Due to our very small development team, and limited resources, the only browsers that are supported are Google Chrome, and Mozilla Firefox at this time.  We hope to support more in the future!

Manual Installation:

You can manually install the editor by running the following set of commands:
sudo apt-get update && sudo apt-get -y install build-essential nodejs nodejs-legacy npm redis-server git
git clone git://
cd Adafruit-WebIDE
mkdir tmp
npm config set tmp tmp
npm install
editor config/config.js (change port 80 to your port of choice)
nodejs server.js


To uninstall the editor for versions 0.1.9 and older, you can run the following script:
curl | sh
To uninstall the editor for versions 0.2.0 and newer, you can run the following script:
curl | sudo sh
You can also manually uninstall by removing the following components:
  • Delete the folder the editor exists in.
  • Remove the bitbucket ssh keys in ~/.ssh
  • Edit the ssh config to remove the bitbucket reference that is appended.
  • Uninstall nodejs npm redis-server git restartd libcap2-bin avahi-daemon i2c-tools.
Last updated on 2015-05-04 at 04.27.26 PM Published on 2012-10-05 at 01.21.56 PM