node install

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




原文地址:https://www.cnblogs.com/lavieenrose/p/2307365.html