如何安装Node.js

ubuntu下安装node.js的方法:

1.安装依赖包 sudo apt-get install g++ curl libssl-dev apache2-utils
             sudo apt-get install git-core
2.运行下面的命令行: git clone git://github.com/joyent/node.git
                    cd node
                    ./configure
                    make
                    sudo make install

你可能感兴趣的:(node.js)