第一步:下载软件
	nodejs的中文官网http://nodejs.cn/download/

windows 10  安装node.js

 

选择 windows  系统 msi 安装版本。

下载完成之后,直接打开下一步安装就可以。

安装完成 打开cmd

windows 10  安装node.js

 

 写个测试程序

 

 hellp.js

var http = require('http');
http.createServer(function(request,response){
    response.writeHead(200,{'Content-type':'text/plain'})
    response.end("Hello World\n");
    }).listen(8888);
    console.log('Server running at http://127.0.0.1:8888');

 

windows 10  安装node.js

 

windows 10  安装node.js

 

OK! 安装完成。还是挺简单的。

 

相关文章:

  • 2022-12-23
  • 2021-08-31
  • 2021-05-23
  • 2021-04-18
  • 2021-07-27
  • 2021-09-24
  • 2021-09-15
猜你喜欢
  • 2022-02-16
  • 2022-01-07
  • 2021-10-27
  • 2021-10-14
  • 2021-04-01
  • 2021-05-06
  • 2021-12-06
相关资源
相似解决方案