Skip to content
Dayton edited this page Dec 22, 2013 · 10 revisions

Until apt-get catches up, you need to do this on the Raspberry Pi:

  1. sudo mkdir /opt/node; cd $_ a happy home for Nodejs
  2. sudo wget http://nodejs.org/dist/v0.10.22/node-v0.10.22-linux-arm-pi.tar.gz there may be a newer version
  3. sudo tar xvzf node-*-linux-arm-pi.tar.gz explode
  4. sudo rm node-v0.10.22-linux-arm-pi.tar.gz
  5. sudo mv node*/* . simplify path
  6. sudo ex -s -c 'g/PATH/s/"$/:\/opt\/node\/bin"/' -c wq /etc/profile add node to $PATH
  7. source /etc/profile reset $PATH
  8. node --version should read v0.10.22
Clone this wiki locally