Last active
October 29, 2015 08:25
-
-
Save coa00/0ac72b98b27efde7d73f to your computer and use it in GitHub Desktop.
raspberry Piにnode.jsをいれてみる。 ref: http://qiita.com/coa00@github/items/7276d65f7732bbc8b3c6
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
curl -L git.io/nodebrew | perl - setup |
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
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.bashrc | |
source .bashrc |
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
nodebrew ls-all |
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
nodebrew install-binary v4.1.1 |
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
fetch: http://nodejs.org/dist/v4.1.1/node-v4.1.1-linux-armv6l.tar.gz | |
######################################################################## 100.0% |
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
nodebrew use v4.1.1 |
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
pi@raspberrypi ~ $ npm -v | |
2.14.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment