Skip to content

Instantly share code, notes, and snippets.

@djohnson001
Created March 4, 2017 07:30
Show Gist options
  • Save djohnson001/6417ce8185e8148951a40e47519947d3 to your computer and use it in GitHub Desktop.
Save djohnson001/6417ce8185e8148951a40e47519947d3 to your computer and use it in GitHub Desktop.
Some notes on C.H.I.P.
** Installing NodeJS **
https://bbs.nextthing.co/t/node-js-on-c-h-i-p/7874
binaries are here:
https://nodejs.org/en/download/
binary for ARM7 (version number will change. from the link, CHIP must be ARM7. What about Pi?)
https://nodejs.org/dist/v6.10.0/node-v6.10.0-linux-armv7l.tar.xz
this command downloads it
wget https://nodejs.org/dist/v6.10.0/node-v6.10.0-linux-armv7l.tar.xz
decompress it
tar -xf node-v6.10.0.linux-armv7l.tar.xz
execute it
cd node-v6.10.0.linux-armv7l.tar
cd bin
chmod +x node
./node
add it to the path
** go to the node directory. from the previous step, just do cd ..
sudo cp -R * /usr/local/
export PATH=$PATH:/usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment