Created
September 25, 2011 15:13
-
-
Save ishiduca/1240706 to your computer and use it in GitHub Desktop.
Node.js && npm install memo
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
アンインストール手順は friendfeed
http://friendfeed.com/ishiduca/930ccb3f/node-jsnpm-nodejs