First, install, download the installation from the official website, install basic always click on the next step on the line. Note: node. js is Python-based, and it is best to install Python on your computer before installing node. js, preferably Python2.7 or 2.6.
Second, Cmd enters the command line, enter Node-v, if the node. JS version information is displayed, the installation is successful.
Reference Http://www.liaoxuefeng.com/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000/ 00143450141843488beddae2a1044cab5acb5125baf0882000
Third, the establishment of the first "Hello World"
Reference Http://www.liaoxuefeng.com/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000/ 001434501436552e03ec6cc152b4c84959f14d0ea278488000
Iv. Accessing the JS file under the specified drive letter at the cmd command line
(1) Run cmd, go to command line
(2) Direct write c:\user\administrator>f: Enter, enter the F disk, but can not access the specific files
(3) F:\>cd/workspace into the workspace folder under the F-disk
(4) Run specific hello.js files under F:\workspace>node hello.js node
node. JS (window) Foundation (1)--Use the cmd command line to access the JS file under a folder