Ubuntu 11.04 Natty Narwhal ã« Node 㨠npm ãã¤ã³ã¹ãã¼ã«
nvmã使ã
$ sudo apt-get install git curl build-essential libssl-dev $ git clone https://github.com/creationix/nvm.git ~/.nvm $ . ~/.nvm/nvm.sh $ nvm install v0.4.7
". ~/.nvm/nvm.sh" 㯠.bashrc ãªã©ã«è¨è¿°ãã¦ããã¨å
以å¾ãNodeã使ãã¨ãã«ã¯
$ nvm use latest
ãå®è¡ãã
naveã使ã
$ sudo apt-get install git curl build-essential libssl-dev $ git clone https://github.com/isaacs/nave.git ~/.nave $ ~/.nave/nave.sh use latest $ curl http://npmjs.org/install.sh | sh
"~/.nave/nave.sh" ã¸ã®ã·ã³ããªãã¯ãªã³ã¯ããã¹ã®éã£ãã¨ããã«ç½®ãã¦ããã¨å
以å¾ãNodeã使ãã¨ãã«ã¯
$ nave use latest
ãå®è¡ãã
ãã¼ã«ã使ããã«
$ sudo apt-get install git curl build-essential libssl-dev $ curl http://nodejs.org/dist/node-v0.4.7.tar.gz | tar xz $ cd node-v0.4.7 $ ./configure --prefix=~/local $ make $ make install
~/local/bin ã«ãã¹ãéã
$ curl http://npmjs.org/install.sh | sh