I've got a raspberry pi that I'm running node on. I followed this guide http://joshondesign.com/2013/10/23/noderpi to install node.
When I setup the
NODE_JS_HOME, I can run node from the command line, but not sudo node, and I need to be sudo to access GPIO.
I also seem to need to re-enter the NODE_JS_HOME in my .bash_profile every time I open a new terminal window. I'm hoping that I can set node globally and be able to run
sudo node form the command line, right from start-up.