node. JS (window) Foundation (1)--Use the cmd command line to access the JS file under a folder

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.