Skip to content

Instantly share code, notes, and snippets.

@don
Last active December 24, 2015 08:39
Show Gist options
  • Select an option

  • Save don/6772141 to your computer and use it in GitHub Desktop.

Select an option

Save don/6772141 to your computer and use it in GitHub Desktop.
Install nodejs on BeagleBone Black
<1> download node
<2> install it in +/usr/local+
<3> make symlinks (aliases) to node and npm so you can call them from the command line easily.
$ cd ~/downloads
$ curl -O http://nodejs.org/dist/v0.10.12/node-v0.10.12-linux-arm-pi.tar.gz <1>
$ cd /usr/local
$ sudo tar xzf ~/downloads/node-v0.10.12-linux-arm-pi.tar.gz <2>
$ cd bin
$ sudo ln -s ../node-v0.10.12-linux-arm-pi/bin/node <3>
$ sudo ln -s ../node-v0.10.12-linux-arm-pi/bin/npm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment