How to Install Node.js

Ubuntu

  1. Install the dependencies:

    • sudo apt-get install g++ curl libssl-dev apache2-utils
    • sudo apt-get install git-core
  2. Run the following commands:

git clone git://github.com/ry/node.git
cd node
./configure
make
sudo make install

You can check it worked with a simple Hello, World! example.

 

posted on 2015-08-31 19:36  前端zz  阅读(145)  评论(0)    收藏  举报

导航