Skip to content

Instantly share code, notes, and snippets.

@ishiduca
Created September 25, 2011 15:13
Show Gist options
  • Save ishiduca/1240706 to your computer and use it in GitHub Desktop.
Save ishiduca/1240706 to your computer and use it in GitHub Desktop.
Node.js && npm install memo
install node.js v0.4.11 && install npm
[参照]「node.js」 http://nodejs.jp/nodejs.org_ja/docs/v0.4/
[参照]「Building and Installing Node.js - GitHub」 https://github.com/joyent/node/wiki/Installation
# ここから
$ git clone --depth 1 git://github.com/joyent/node.git
$ cd node
$ git checkout v0.4.11
$ export JOBS=2
-- 省略 $ mkdir ~/local
-- 省略 $ ./configure --prefix=$HOME/local/node
$ make
$ make install
$ echo 'export PATH=$HOME/node/bin:$PATH' >> ~/.profile
$ echo 'export NODE_PATH=$HOME/node:$HOME/node/lib/node_modules' >> ~/.profile
$ source ~/.profile
--
install npm
$ curl http://npmjs.org/install.sh | sh
$ npm -v
@ishiduca
Copy link
Author

アンインストール手順は friendfeed
http://friendfeed.com/ishiduca/930ccb3f/node-jsnpm-nodejs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment