Windows installation node. js

Source: Internet
Author: User

1. Download https://nodejs.org/

2. Installation

3. Modify the environment variables to add a directory of node. JS installed

4. View NPM Instructions

About NPM Introduction "Nodejs itself provides the basic modules, but the development of the actual application process only rely on these basic modules will still need more work." Fortunately, the Nodejs Library and framework provide us with the help we have to reduce our workload. But hundreds of libraries or frameworks are cumbersome to manage, and with NPM, you can quickly find packages to use for specific services, download, install, and manage installed packages. ”

5. Example

Create a project directory and open the Command window from here.

Under this working directory, create a file named Upload.js, which reads as follows:

var formidable = require ('formidable'

Enter node Upload.js to run an error.

Start installing input NPM install formidable, wait a minute. After installation, one more folder is created.

Continue to view

6. Global Installation

Windows installation node. js

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.