Skip to content

Instantly share code, notes, and snippets.

@PoisonousJohn
Forked from ted-piotrowski/nodejs.sh
Created February 18, 2017 19:06
Show Gist options
  • Save PoisonousJohn/b5c98a30c2ff52f0f5235ce3f6dd420a to your computer and use it in GitHub Desktop.
Save PoisonousJohn/b5c98a30c2ff52f0f5235ce3f6dd420a to your computer and use it in GitHub Desktop.
Install latest NodeJS on Ubuntu ARM
sudo apt-get uninstall nodejs # uninstall nodejs 4.2.6
wget https://nodejs.org/dist/v6.6.0/node-v6.6.0-linux-armv7l.tar.gz # get latest ARM build
tar -xvf node-v6.6.0-linux-armv7l.tar.gz # extract it
sudo cp node-v6.6.0-linux-armv7l /etc/node6.6 # copy extracted file to /etc folder
sudo ln -s /etc/node6.6/bin/node /usr/bin/node # link the nodejs executable
sudo ln -s /etc/node6.6/bin/npm /usr/bin/npm # link the npm executable
node --version # should output v6.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment