node.js
go on nodejs.org
download source
tar -xvzf node-v0.6.15.tar.gz cd node node-v0.6.15/ ./configure make make test make doc sudo make install |
npm
wget http://npmjs.org/install.sh sudo bash install.sh tar=/bin/tar version: tar (GNU tar) 1.25 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. install npm@1.1 fetching: http://registry.npmjs.org/npm/-/npm-1.1.18.tgz 0.6.15 1.1.18 cleanup prefix=/usr/local All clean! /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js npm@1.1.18 /usr/local/lib/node_modules/npm It worked |
npm install socket.io |