node:
1. 下载nodejs
http://nodejs.org/#download
2. 解压/编译/安装
$ tar -xf node.tar.gz$ cd node$ ./configure$ make.....$ sudo make install
npm:
$ sudo curl http://npmjs.org/install.sh | sh
less:
$ npm install less -g