Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save alpercelik/4dacb746c2e64e8ee3fe2e87be7bc319 to your computer and use it in GitHub Desktop.
Save alpercelik/4dacb746c2e64e8ee3fe2e87be7bc319 to your computer and use it in GitHub Desktop.
Install nodejs to latest on Intel Edison
// remove existing version of node
$ opkg remove nodejs --force-depends
// let's go to /bin
$ cd /bin
// create node build folder and move into it
$ mkdir node && cd node
// download the version of node you'd like (just replace the version number)
// full list here Previous Releases | Node.js
// make sure to select the `linux-x86`
$ wget http://nodejs.org/dist/v5.0.0/node-v5.0.0-linux-x86.tar.gz
// unzip and delete zip
$ tar -xvf node-v5.0.0-linux-x86.tar.gz
$ rm node-v5.0.0-linux-x86.tar.gz
// move everything out of the folder
$ mv node-v5.0.0-linux-x86/* .
$ rm -r node-v5.0.0-linux-x86
// add the new version of node to the $PATH so we can run `npm` and `node`
$ PATH=$PATH:/bin/node/bin
Should be good to go – I'm open to any ideas for a better solution!
@BrianHenryIE
Copy link

Another solution: Homebridge on Intel Edison. Yours looks cleaner.

@ju3tin
Copy link

ju3tin commented Oct 30, 2020

Really great learned alot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment