I recently downloaded the Intel XDK IOT version and used the LED pin 13 Blink sample. I then uploaded the program onto the Edison, but it came up with a few errors; One of
You can also grab the latest version from npm (it'll use a pre-generated SWIG wrapper from git master HEAD and build it on your board).
npm install mraa
here's more details on how this works here - http://iotdk.intel.com/docs/master/mraa/npmpkg.html