-
-
Save PoisonousJohn/b5c98a30c2ff52f0f5235ce3f6dd420a to your computer and use it in GitHub Desktop.
Install latest NodeJS on Ubuntu ARM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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