First step Download Nodejs
Visit Https://nodejs.org/en/download/url
According to your system is 32-bit or 64-bit, follow the text instructions to download
Step Two Install Nodejs
Double-click the installation package that runs Nodejs and specify to a Nodejs directory
The third step is to debug the Nodejs installation successfully
We create a new hello.js in any directory
Type the following:
var http = require ("http");
Http.createserver (function (request,response) {
Response.writehead (200, {
"Content-type": "Text/plain"
});
Response.Write ("Hello world!");
}). Listen (8888);
Then open the console and make the Hello.js directory in the console,
Run Node Hello.js
Then open the browser and you'll see Hello world!.
Article for the author original, reproduced please register the source http://www.zizhusoft.com/note/show.aspx?id=e8f2ac7e-0e27-49b2-8802-3e97d9034f42, thank you
"Reprint" Windows Platform installation Nodejs process