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