Skip to content

Instantly share code, notes, and snippets.

@coa00
Last active October 29, 2015 08:25
Show Gist options
  • Save coa00/0ac72b98b27efde7d73f to your computer and use it in GitHub Desktop.
Save coa00/0ac72b98b27efde7d73f to your computer and use it in GitHub Desktop.
raspberry Piにnode.jsをいれてみる。 ref: http://qiita.com/coa00@github/items/7276d65f7732bbc8b3c6
curl -L git.io/nodebrew | perl - setup
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.bashrc
source .bashrc
nodebrew ls-all
nodebrew install-binary v4.1.1
fetch: http://nodejs.org/dist/v4.1.1/node-v4.1.1-linux-armv6l.tar.gz
######################################################################## 100.0%
nodebrew use v4.1.1
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