node. JS is a platform that lets JavaScript out of the browser running on the server, not the language;
The JavaScript engine used by node. JS is a V8 from Google Chrome; JavaScript compatibility issues that run outside the browser without having to worry about headaches
The use of single-threaded, asynchronous IO and event-driven design to achieve high concurrency (asynchronous events also to some extent increased the difficulty of development and debugging);
node. JS has an HTTP server built in, so it's good news for web development;
Home: http://nodejs.org/
English api:http://nodejs.org/api/ (latest)
Chinese api:http://nodeapi.ucdok.com/#/api/
Relatively simple installation in a Windows environment
http://nodejs.org/download/
Link to download the corresponding operating system installation files (install the latest version on the line)
Follow the prompts, until the installation succeeds, you can see (C:\Program files\nodejs) under the default installation path, and the default path can be modified at the time of installation.
After successful installation, in command prompt input:node-v View the installation version, the output version is installed successfully
Node pageaged Modules https://npmjs.org/(NPM) is included in Windows node. JS installation package installation. This node. JS itself has a basic module, which NPM can install a rich node. JS Library to complete the actual development requirements.
Common Command Description:
View Help
NPM Help or npm h
Mounting module
NPM Intstall <module name>
Install the module in the Global Environment (-G: Enable global mode)
NPM install-g <module name>
MORE: https://npmjs.org/doc/install.html
Uninstalling the module
NPM Uninstall <moudle name>
Displays the modules installed in the current directory
NPM List
After successful installation, NPM and node. JS paths are added separately in the path user environment variable and system environment
Node learning Note (1)--Introduction and installation of the node. JS Development environment