要为Node.js安装和设置环境, 你需要在计算机上提供以下两个软件:
- 文本编辑器。
- Node.js Binable可安装
文本编辑器:
文本编辑器用于键入程序。例如:记事本用于Windows, vim或vi可以用于Windows以及Linux或UNIX。文本编辑器的名称和版本可能因操作系统而异。
使用文本编辑器创建的文件称为源文件, 并且包含程序源代码。 Node.js程序的源文件通常以扩展名” .js”命名。
Node.js运行时:
用源文件编写的源代码就是JavaScript。它由Node.js解释器解释和执行。
如何下载Node.js:
你可以从https://nodejs.org/en/下载最新版本的Node.js可安装存档文件。

在这里, 你可以部署对大多数用户推荐的node-v4.4.2 LTS安装。


接受许可协议的条款。

选择你要安装的位置。

准备安装:




来源:
https://www.srcmini02.com/27575.html