Last active
December 24, 2015 08:39
-
-
Save don/6772141 to your computer and use it in GitHub Desktop.
Install nodejs on BeagleBone Black
This file contains hidden or 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
| <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